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.

CSV Error Messages

Message

Explanation

Tracking number and courier slug are required

Cannot find a matched courier among your selected couriers

Tracking already exists

Cannot add duplicate records

File format not supported

Please use AfterShip CSV format


Requied Parameter

Parameter

Type

Description

tracking_number

String

The 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

Parameter

Type

Description

courier

String

A 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_code

String

The postal code of receiver's address. Required by some couriers, such as deutsch-post

tracking_ship_date

String

Shipping date in YYYYMMDD format. Required by some couriers, such as deutsch-post

tracking_account_number

String

Account number of the shipper for a specific courier. Required by some couriers, such as dynamic-logistics

tracking_key

String

Key of the shipment for a specific courier. Required by some couriers, such as sic-teliway

tracking_origin_country

String

Origin Country of the shipment for a specific courier. Required by some couriers, such as dhl

tracking_destination_country

String

Destination Country of the shipment for a specific courier. Required by some couriers, such as postnl-3s

tracking_state

String

Located state of the shipment for a specific courier. Required by some couriers, such as star-track-courier

email

Comma seperated

Email address(es) to receive email notifications. Comma separated for multiple values.

sms

Comma seperated

Phone 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_id

String

A text field for Order ID

title

String

A text field for shipment title

order_path

String

A text field for order path

order_date

String

The date and time when the order was created.

customer_name

String

A text field for customer name

destination_country

String

Enter 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_1

String

Custom text field 1

custom_2

String

Custom text field 2