Create a new Purchase Order
Creates a blank purchase order for a supplier. You can then call other API requests to change shipping prices and add products.
Call
POST /rest/purchase.json
Add a product to a Purchase 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/purchase/{id}/product/{product_code}.json
Change the payment module for a Purchase Order
Change the payment module for a purchase order by passing the payment tag in the following url. I.e., paypal or sagepayserver.
Call
POST /rest/purchase/{id}/paymentmodule/{tag}.json
Change a Purchase Order's status
Call
POST /rest/purchase/{id}/status/{status_id}.json
Change a Purchase Order's status with notification
Call
POST /rest/purchase/{id}/status-notify/{status_id}.json
Cancel a Purchase Order
Call
POST /rest/purchase/{id}/cancel.json
Change a Purchase Order status to pending
Call
POST /rest/purchase/{id}/pending.json
Change a Purchase Order status to processing
Call
POST /rest/purchase/{id}/processing.json
Change a Purchase Order status to despatched
Call
POST /rest/purchase/{id}/despatched.json
Comments
0 comments
Please sign in to leave a comment.