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:

DetailDescription
Destination countryThe country where the shipment will be delivered.
PostcodeRequired depending on the destination country.
Service codeThe Royal Mail service code for the shipment.
Shipping accountThe account you will use to create the shipment.
Shipping locationRequired if you have more than one shipping location linked to the shipping account.

Create the shipment

After you have all the shipment information, call the Royal Mail Create Shipment endpoint using the pre-allocated tracking number.

🚧

Important

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.

Workflow for creating shipments with pre-allocated tracking number

Workflow for creating shipments with pre-allocated tracking number

📘

Note

The pre-allocated tracking number does not expire.


API Recipe

Follow a step-by-step guide API recipe on how to use the pre-allocated tracking number


See also


Did this page help you?