Edit an Order note
URL Query Parameters
-
note - The content of the note
Call
PUT /rest/orders/{id}/note/{note_id}.json
Edit a product for an Order
When editing an order product, on update the order will automatically be re-totalled.
URL Query Parameters
-
name - The new name of the product
-
warranty - The warranty in days
-
price - price in the format 0.00 to 2 decimal places
-
qty - The quantity
-
tax - The tax rate for this product
-
dispatched - True or false boolean, ie 1 or 0
Call
PUT /rest/orders/{id}/product/{product_id}.json
Edit an Order's status
Editing an orders status requires the order id and the new order status id passing to the url call below.
Call
PUT /rest/orders/{id}/status/{status_id}.json
Edit an Order's billing address
URL Query Parameters
-
name - The Name of the person who the order is being billed to
-
company - The company
-
address_line_1 - House number and street
-
address_line_2 - Optional such as suburb
-
city - City
-
postcode - The postcode / zipcode
-
country - The county or state
-
country - The country
Call
PUT /rest/orders/{id}/billingaddress.json
Edit an Order's Name
URL Query Parameters
-
name - The Name of the person who made the order
Call
PUT /rest/orders/{id}/name.json
Edit an Order's Phone
URL Query Parameters
-
phone - The Phone Number
Call
PUT /rest/orders/{id}/phone.json
Edit an Order's Mobile
URL Query Parameters
-
name - The mobile number
Call
PUT /rest/orders/{id}/mobile.json
Edit an Order's Email Address
URL Query Parameters
-
email - The email address
Call
PUT /rest/orders/{id}/email.json
Edit an Order's delivery address
URL Query Parameters
-
name - The Name of the person who the order is being shipped to
-
company - The company
-
address_line_1 - House number and street
-
address_line_2 - Optional such as suburb
-
city - City
-
postcode - The postcode / zipcode
-
country - The county or state
-
country - The country
Call
PUT /rest/orders/{id}/deliveryaddress.json
Edit an Order's shipping name and price
URL Query Parameters
-
price - The new price for shipping
Call
PUT /rest/orders/{id}/shipping.json
Comments
0 comments
Please sign in to leave a comment.