The secret is, we had the same problems.

Despatch Cloud developed Courier API as a solution to an in-house problem with how we ingregrated couriers to our warehouse solution. We quickly realised that more than us were struggling with this, and thus Courier API was created.

cURL

PHP

Ruby

JS

Code Sample
curl --location --request POST "https://production.courierapi.co.uk/api/couriers/v1/DHL/create-label" \
--header "api-user: {{api-user}}" \
--header "api-token: {{api-token}}" \
--header "Content-Type: application/json" \
--data-raw "{
	"testing":			false,
	"auth_company":		"company",
	"shipment": {
	    "label_size": "6x4",
	    "label_format": "pdf",
	    "generate_invoice": false,
	    "generate_packing_slip": false,
	
	    "courier" : {
	        "global_product_code" : "U",
	        "local_product_code" : "U"
	    },
	}
}"
Try in playground Label Generated Download Ready!

The secret is, we had the same problems.

Despatch Cloud developed Courier API as a solution to an in-house problem with how we ingregrated couriers to our warehouse solution. We quickly realised that more than us were struggling with this, and thus Courier API was created.

Code Sample
curl --location --request POST "https://production.courierapi.co.uk/api/couriers/v1/DHL/create-label" \
--header "api-user: {{api-user}}" \
--header "api-token: {{api-token}}" \
--header "Content-Type: application/json" \
--data-raw "{
	"testing":			false,
	"auth_company":		"company",
	"shipment": {
	    "label_size": "6x4",
	    "label_format": "pdf",
	    "generate_invoice": false,
	    "generate_packing_slip": false,
	
	    "courier" : {
	        "global_product_code" : "U",
	        "local_product_code" : "U"
	    },
	}
}"
Try in playground Label Generated Download Ready!
Label Generation

Courier API is also flexible when it comes to meeting your label requirements. Our system is not only compatible with the most popular and standardised S17, S19, 6x4 and 8x4 labels, but it also allows users to customise their labels to their needs. It also allows generating and printing shipping labels in bulk as well as label generation via CSV uploads.

Track Shipments

Despatch Cloud adds on average one new courier or postal operator per month to CourierAPI with client needs and requests at the forefront of that development. So, if you are interested in using CourierAPI but do not see the courier you work with on our courier list, please contact us as we may just add it for you.

Manifest & Cancel Labels

CourierAPI also comes packed with additional business benefits, not just the obvious ones like removing the requirement of your business having to build and maintain each courier integration but also benefits such as the standardisation of courier labels with PDF or PNG formats, being available in sizes 4x6 or A4 (with support for S17 or S19 integrated labels).

See all 26 code examples

Frequently Asked Questions

Do you have a question about our Shipping API not covered in our FAQs ?

Frequently Asked Questions

Do you have a question about our Shipping API not covered in our FAQs ?

Pyramid Pyramid

Speak to an Expert

Contact us for more information and one of our team will get in touch with you shortly for a comprehensive demo of our system.