News:

Looking for documentation? Take a look on our wiki

Main Menu

Virtuemart API

Started by Roderic, July 17, 2018, 19:22:25 PM

Previous topic - Next topic

Roderic

Where did the VM API Documents go to? They dissapeared from the website. Is there even still an API?

I need to export orders in JSON to a accounting program's API. Is that possible right now?
Any hints would be appreciated.

[Mod edit: Is back http://docs.virtuemart.net/vm-api.html]

Studio 42

No "rest api"  exist. but you can certainly find some Joomla extensions doing this.

GJC Web Design

I have built many bridges between VM and various interfaces .. normally I write them as a vmcustom plugin to trigger on e.g. a confirmed saleor by cron or if manually exported then as an admin module .

Gather the data, construct the JSON and post it by cURL to what ever is the receiving url  by what ever trigger u need.
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Roderic

Quote from: Studio 42 on July 17, 2018, 20:03:16 PM
No "rest api"  exist. but you can certainly find some Joomla extensions doing this.

Can you point me to a well functioning one perhaps?

welrachid

If you are not used to VM and how its coded i definitely would recommend looking for a plugin that can help you out. I've done some integration to e-conomic.com but i tried to keep it as simple as possible. My integration is not automatic. It requires the user to actually hit a new button i've made in the orderlist to send it over to e-conomic.com
Best regards,
Wel

Studio 42

Quote from: Roderic on July 19, 2018, 12:24:11 PM
Quote from: Studio 42 on July 17, 2018, 20:03:16 PM
No "rest api"  exist. but you can certainly find some Joomla extensions doing this.

Can you point me to a well functioning one perhaps?
https://extensions.joomla.org/extension/rest-api/ is a sort of rest framework and you can do your own api plugin
https://extensions.joomla.org/extensions/extension/capi-core-rest-api/ is an external service i think(never checked)
But best is to do your own plugin or extentions, if you have specific needs.

Roderic

I will have a look at the the REST API. But I doubt I can figure it out myself.

What I need is a automatic synchronisation of orders from Virtuemart towards a 3rd party accounting program (Snelstart).
New clients in virtuemart also need to be added to Snelstart.
Stock needs to be updated from Snelstart to Virtuemart. That's about it.

Snelstart has an API that requires JSON data and I have the connection set up. I just need to connect Snelstart to Virtuemart now and feed it with data. A cronjob would be fine too or a trigger that's set after an order is finished.

If any of you would like to write that plugin for me, for a nice price, please let me know.

Studio 42

Nice price ?
such a plugin need 2 days dev in all most time(and perhaps more)

GJC Web Design

agree with Stu42 ...  2 days is a reasonable guesstimate ...  what your requiring is complex and requires a lot of testing and dev to get bug free plus in many cases the documentation is not straight forward some some suck and see (i.e. wasted time) is required

Do u have a link to the api documentation for Snelstart?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Roderic

I didn't say "Cheap price"   ;)  Nice price for all parties involved.

Here is a link to the API docs: https://b2bapi-developer.snelstart.nl/

GJC Web Design

If u would like to discuss further just PM me
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

annatech

#11
Hello everyone,

One of my customers just released a *complete* REST API plugin for Virtuemart, running on cAPI: adsential dot com

I've received a fair amount of email from people asking if cAPI could support Virtuemart. Looks like it's finally possible!

GJC Web Design

Very good .. but on an unrelated subject

No where on the https://adsential.com/en/ site is is possible to find where they are based/come from etc etc

Amazing.. one of the most basic tenets when doing business is to establish trust...   why would you have a site without a single mention of your address?
Most I think would take this as not being worth sending a few 100 dollars to...

of course u can see by whois that the domain is regged in Argentina  - why so shy?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

GJC Web Design, you dont mean it's a hidden spam from annatech?

GJC Web Design

No  - I don't think so.. 

my point is if they want to sell successfully why haven't they got ANY info on their site about who and where they are?
I assume they are a legit business but would u buy something from a site with no email, address, country, telephone number, business reg etc?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation