Use pre-allocated tracking number
A pre-allocated tracking number is a unique identifier assigned in advance to a shipment or order before it is physically despatched. This tracking number is generated automatically by the logistics system when an order is placed or processed, allowing for seamless tracking of the shipment throughout its journey.
If you need to communicate the Royal Mail tracking number to your customers before you have all the shipment details, you can request a pre-allocated tracking number by providing the following details:
- Destination country
- Postcode (depending on the Destination Country)
- Service code
- Shipping account that you will be using to create the shipment.
- Shipping location, if you have more than one shipping location linked to the shipping account.
After you have all the shipment information, you can call the Royal Mail Create Shipment endpoint using the pre-allocated tracking number.
The Create Shipment request using a pre-allocated tracking number can only have one package and all the information sent when requesting the pre-allocated tracking number must match the information sent in the Create Shipment request.
Note
The pre-allocated tracking number does not expire.
To view a step-by-step process on how to use the pre-allocated tracking number in your API calls, refer to the following API recipe:
Updated 22 days ago