CSV Upload & FTP Auto-Fetch

Upload a CSV file to bulk- import shipments or pass an FTP link and AfterShip will automatically download the CSV file at the time you specify.


Upload CSV for bulk import of trackings to AfterShip for auto tracking and notifications. You can upload CSV manually or use auto-fetch for importing trackings at a specific time from an FTP.

  1. Login to your AfterShip account (Sign up free)
  2. Download a CSV sample
  3. Manually upload a CSV file, or setup an Auto-fetch.

MessageExplanation
Tracking number and courier slug are requiredCannot find a matched courier among your selected couriers
Tracking already existsCannot add duplicate records
File format not supportedPlease use AfterShip CSV format

ParameterTypeDescription
tracking_numberStringThe tracking number of a shipment. Tracking number of a shipment. Duplicate tracking numbers, or tracking number with invalid tracking number format will not be accepted. Find tracking number samples.

ParameterTypeDescription
courierStringA unique code of courier in AfterShip. If no value is provided, Aftership will automatically detect the courier based on tracking number format and activated couriers of your AfterShip account. Find courier slug here
tracking_postal_codeStringThe postal code of receiver's address. Required by some couriers, such as deutsch-post
tracking_ship_dateStringShipping date in YYYYMMDD format. Required by some couriers, such as deutsch-post
tracking_account_numberStringAccount number of the shipper for a specific courier. Required by some couriers, such as dynamic-logistics
tracking_keyStringKey of the shipment for a specific courier. Required by some couriers, such as sic-teliway
tracking_origin_countryStringOrigin Country/Region of the shipment for a specific courier. Required by some couriers, such as dhl
tracking_destination_countryStringDestination Country/Region of the shipment for a specific courier. Required by some couriers, such as postnl-3s
tracking_stateStringLocated state of the shipment for a specific courier. Required by some couriers, such as star-track-courier
emailComma seperatedEmail address(es) to receive email notifications. Comma separated for multiple values.
smsComma seperatedPhone number(s) to receive sms notifications. The phone number(s) to receive sms notifications. Phone number should begin with + and Area Code before phone number. Comma separated for multiple values.
order_idStringA text field for Order ID
titleStringA text field for shipment title
order_pathStringA text field for order path
order_dateStringThe date and time when the order was created.
customer_nameStringA text field for customer name
destination_countryStringEnter ISO Alpha-3 (three letters) or ISO Alpha-2 country/region code (two letters) to specify the destination of the shipment. If you use postal service to send international shipments, AfterShip will automatically get tracking results from destination postal service based on destination country/region. Find the country/region code here
custom_1StringCustom text field 1
custom_2StringCustom text field 2