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
 
Field Name  Required FormatNotes
order_idYesString 
shipping_service_idYesInteger 
package_weightYesString 
package_valueYesString 
package_widthConditionalStringOnly needs to be specified if the Shipping Service requires dimensions to be submitted.
package_lengthConditionalStringOnly needs to be specified if the Shipping Service requires dimensions to be submitted.
package_heightConditionalStringOnly needs to be specified if the Shipping Service requires dimensions to be submitted.
parcels->lengthConditionalStringOnly needs to be specified if the Shipping Service requires dimensions to be submitted.
parcels->heightConditionalStringOnly needs to be specified if the Shipping Service requires dimensions to be submitted.
parcels->widthConditionalStringOnly needs to be specified if the Shipping Service requires dimensions to be submitted.
parcels->weightConditionalStringOnly 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"
}