Create a new Order
Creates a blank order for a customer. You can then call other API requests to change shipping prices and add products.
Call
POST /rest/orders/{customer_id}.json
Add a product to an Order
To add a new product, pass the product code of the item you wish to add. Once the product has been added, you can then edit the product using the PUT verb and passing additional post variables along with the URL.
Call
POST /rest/orders/{id}/product/{product_code}.json
Change the payment module for an Order
Change the payment module for an order by passing the payment tag in the following url. I.e., paypal or sagepayserver.
Call
POST /rest/orders/{id}/paymentmodule/{tag}.json
Change an Order's status
Call
POST /rest/orders/{id}/status/{status_id}.json
Change an Order's status with notification
Call
POST /rest/orders/{id}/status-notify/{status_id}.json
Add an Order note
URL Query Parameters
-
note - The content of the note
Call
POST /rest/orders/{id}/note.json
Cancel an Order
Call
POST /rest/orders/{id}/cancel.json
Change an Orders status to pending
Call
POST /rest/orders/{id}/pending.json
Change an Orders status to processing
Call
POST /rest/orders/{id}/processing.json
Change an Orders status to despatched
Call
POST /rest/orders/{id}/despatched.json
Process an Orders payment
Call
POST /rest/orders/{id}/payment.json
Comments
0 comments
Please sign in to leave a comment.