CSV Upload

Parameter settings of AfterShip CSV file for bulk upload of trackings.

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 a 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.

CSV Error Messages

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

Requied Parameter

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.

Optional Parameters

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 asdeutsch-post
tracking_ship_dateStringShipping date inYYYYMMDDformat. Required by some couriers, such asdeutsch-post
tracking_account_numberStringAccount number of the shipper for a specific courier. Required by some couriers, such asdynamic-logistics
tracking_keyStringKey of the shipment for a specific courier. Required by some couriers, such assic-teliway
tracking_destination_countryStringDestination Country of the shipment for a specific courier. Required by some couriers, such aspostnl-3s
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
customer_nameStringA text field for customer name
destination_countryStringEnter ISO Alpha-3 (three letters) or ISO Alpha-2 country 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. Find the country code here
custom_1StringCustom text field 1
custom_2StringCustom text field 2