Ship & Despatch Order
You can mark an order as despatched, as well as return tracking number and service (if applicable).
Endpoint: https://YOUR-ACCOUNT-NAME.despatchcloud.co.uk/ws/v1/wsorders/ship_and_despatch_order
Method: POST
Example Request (POST):
Example Response:
Method: POST
| Field Name | Required | Format | Notes |
| order_id | Yes | String | |
| shipping_service_id | Yes | Integer | |
| package_weight | Yes | String | |
| package_value | Yes | String | |
| package_width | Conditional | String | Only needs to be specified if the Shipping Service requires dimensions to be submitted. |
| package_length | Conditional | String | Only needs to be specified if the Shipping Service requires dimensions to be submitted. |
| package_height | Conditional | String | Only needs to be specified if the Shipping Service requires dimensions to be submitted. |
| parcels->length | Conditional | String | Only needs to be specified if the Shipping Service requires dimensions to be submitted. |
| parcels->height | Conditional | String | Only needs to be specified if the Shipping Service requires dimensions to be submitted. |
| parcels->width | Conditional | String | Only needs to be specified if the Shipping Service requires dimensions to be submitted. |
| parcels->weight | Conditional | String | Only needs to be specified if the Shipping Service requires dimensions to be submitted. |
Example Request (POST):
CopyCopy{
"order_id": "5678",
"shipping_service_id": 216,
"package_weight": "0",
"package_value": "0",
"package_width": "0",
"package_length": "0",
"package_height": "0",
"parcels": [
{
"length": "0",
"height": "0",
"width": "0",
"weight": "0"
},
{
"length": "0",
"height": "0",
"width": "0",
"weight": "0"
}
]
}Example Response:
CopyCopyCopyCopy{ "status": "SUCCESS" }