Get Courier Services

You can obtain a list of the courier services on your account.

Endpoint: https://YOUR-ACCOUNT-NAME.despatchcloud.co.uk/ws/v1/wsorders/get_courier_services/{{courier_id}}
Method: GET

Specifying {{courier_id}} is optional. Not specifying will show all courier services on your account. The {{courier_id}} allows you to filter services by courier (i.e. if you wanted just to show DHL services).

Example Response:
CopyCopyCopyCopyCopyCopyCopy{
  "status": "SUCCESS",
  "courier_services": [
    {
      "service_id": "1",
      "courier": "royalmail_demo",
      "enabled": "1",
      "name": "Demo",
      "local_tracking": "0",
      "pd_options": "0",
      "default_dimensions_l": "0.0",
      "default_dimensions_w": "0.0",
      "default_dimensions_h": "0.0",
      "config": "",
      "local_tracking_url": "",
      "courier_eta": "",
      "included_postcodes": "",
      "excluded_postcodes": "",
      "use_postcode": ""
    },
    {
      "service_id": "3",
      "courier": "other",
      "enabled": "1",
      "name": "Test Other",
      "local_tracking": "0",
      "pd_options": "0",
      "default_dimensions_l": "0.0",
      "default_dimensions_w": "0.0",
      "default_dimensions_h": "0.0",
      "config": "",
      "local_tracking_url": "",
      "courier_eta": "",
      "included_postcodes": "",
      "excluded_postcodes": "",
      "use_postcode": ""
    }
  ]
}