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

cURL
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"
	    },
	}
}"

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
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"
	    },
	}
}"

See all 26 code examples

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.

See Documentation Book a Demo
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.

See Documentation
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 Documentation
Courier Quotation

You don't need to have your own account with each carrier, as soon as we add a new carrier in, you will be able to use it as if you would with an account of your own. This also means you will always have access to the most up-to-date live rates for over 40 national and international carriers. This way, you can calculate shipping rates before you despatch your order and compare rates across the most popular carriers such as UPS, DHL, DPD and many more via a single integration.

See Documentation

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.