| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
REST API access to Orders | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
REST API access to Orders
I would like to access/modify orders their status and products using the REST APIs in x-cart 5.x what path/model should I use for the queries?
thanks in advance for your help! |
|||||||
#2
|
|||||||||
|
|||||||||
Re: REST API access to Orders
I believe these examples should help you:
http://kb.x-cart.com/display/XDD/REST+API+documentation#RESTAPIdocumentation-Requestexamples For orders just change "product" in requests to "order".
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: REST API access to Orders
Any chance that can get ported back to 4.6.x?
__________________
X-Cat 4.5.4 & (1/2) Live June 1, 2013. |
|||||||||
#4
|
|||||||
|
|||||||
Re: REST API access to Orders
Quote:
Is there a way to do filter on a get using attributes like ordernumber? |
|||||||
#5
|
|||||||||
|
|||||||||
Re: REST API access to Orders
We have done this to one of our clients. API feature for orders, customers and inventory update. It is pretty much needed for their mobile app, inventory management and portal to manage all at one place.
If you need any help, please drop an email to sales@mercuryminds.com Quote:
__________________
Dongan MercuryMinds Technologies Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com Follow us at Facebook / Twitter |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: REST API access to Orders
Quote:
There is no function to filter by data fields yet, however you can read/update data by the ID: Code:
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#7
|
|||||||
|
|||||||
Re: REST API access to Orders
The ID makes a lo of sense for Products, it is meaningless for orders as what I noticed is that we create a new order entry even if the user does not get it through checkout. on the other hand the ordernumber reflects real orders in the system and should be the one that is used as the "ID"
|
|||||||
#8
|
|||||||||
|
|||||||||
Re: REST API access to Orders
As far as I know there is an improvement planned for the upcoming 5.1.6 version.
So, I believe you will be able to get orders by their number after 5.1.6 is released.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|