Articles on: Tracking & Status

Import Tracking Numbers From Your Store To AfterShip Correctly

Plans: All Plans Platforms: All Platforms


Below are some ways through which AfterShip users can better control how tracking numbers are added to their AfterShip account.

What you'll learn

In this article, we'll discuss about:

Adding tracking numbers for a specific courier
Adding tracking numbers for couriers that require additional parameters

Adding tracking numbers for a specific courier

For most stores, when a tracking number is added to an order, AfterShip auto detects the courier based on the tracking number format and the active courier list in the user's AfterShip account.

However, if a user wants to assign a tracking number to a specific courier, they can add it by entering the tracking number in this format:


For example: 


This tracking number will be imported as courier DPD and will ignore the AfterShip courier auto detect.

Adding tracking numbers for couriers that require additional parameters

Some couriers, in addition to the tracking numbers, require extra parameters to get the tracking results.

They can be added in this format:




Some such couriers are listed below:

slug: postnl-3s 
required parameters: tracking_destination_country, tracking_postal_code 
sample tracking number: CD707008810NL:AUS:7000

slug: postnl 
required parameters: tracking_postal_code 
sample tracking number: 3STNDH0017348:2935VV

slug: deutsch-post 
required parameters: tracking_ship_date 
sample tracking number: RB860068347DE:20160509

slug: sic-teliway 
required parameters: tracking_account_number, tracking_key 
sample tracking number: 10123456:15637:79


1. What is a courier slug?

The courier slug is a unique identifier for a courier in AfterShip. 

Courier slugs for AfterShip supported couriers can be found here:

Select the courier and the courier slug will appear in the URL

For example, the courier slug for DPD UK is dpd-uk (case sensitive).

2. Under what condition duplicate tracking numbers can be imported to AfterShip?

Duplicate or identical tracking numbers can be imported to AfterShip from your store only when they have different carrier slugs following the same format as mentioned in case 1


For example:


If you are importing the same tracking numbers for carriers that require additional parameters, follow the format in case 2. Please bear in mind that the carrier slugs for the same tracking numbers should be different for them to be successfully imported to AfterShip correctly.

In case you need any further assistance, feel free to to contact our support team.

Updated on: 10/10/2023

Was this article helpful?

Share your feedback


Thank you!