Update Orders
Learn how to update orders in progress yet to be shipped with HotWax Commerce using the updateOrder endpoint and POST method.
Updates orders that are currently in progress and have not yet been shipped, to update the orders, you will need to call the updateOrder
endpoint with the POST method. There are two main reasons for updating orders: changing the shipment box and rejecting specific order items.
Request
Endpoint
https://<host>/api/updateOrder
Example: https://demo-oms.hotwax.io/api/updateOrder
Header
For Order Item rejection:
Body
Note: Pass this information as a form data.
Parameter | Description | Required (Y/N) |
---|---|---|
| The ID of the facility. | Yes |
| The shipment ID of the item. | Yes |
| The row in the order where the item belongs. | Yes |
| The box type of the shipment. | Yes |
| The ID of the rejected shipment item. | Yes |
| The sequence ID of the rejected shipment ID. | No |
| The row in the order where the rejected shipment item belongs. | No |
| The reason for rejecting the order item. | Yes |
For Shipment Package Change:
Body
Parameter | Description | Required (Y/N) |
---|---|---|
| The ID of the facility. | Yes |
| The shipment ID of the item. | Yes |
| The row in the order where the item belongs. | Yes |
| The box type of the shipment. | Yes |
| The ID of the ready to pack shipment item. | Yes |
| The sequence ID of the ready to pack shipment ID. | No |
| The row in the order where the ready to pack shipment item belongs. | No |
| The reason for rejecting the ready to pack order item. | Yes |
Response
Header
For Order Item rejection:
Body
For Shipment Package Change:
Body
Last updated