courier_connection

This model represents user-created courier connection details. AfterShip will use this information to retrieve tracking updates from carriers based on the provided tracking numbers.

This model represents user-created courier connection details. AfterShip will use this information to retrieve tracking updates from carriers based on the provided tracking numbers.

id
string

The courier connection ID is a special set of numbers generated by AfterShip to define each user-created connection.

Example:
62548149f9fd4fa289d41ecf018d31ec
courier_slug
string

Unique courier code. Get courier codes here.

Example:
usps
credentials
object

It refers to the authentication details required for each specific carrier details required for each specific carrier (such as API keys, username, password, etc.) that the user must provide to establish a carrier connection. The content varies by carrier.

created_at
string

The date and time the courier connection was created. It uses the format YYYY-MM-DDTHH:mm:ssZ for the timezone GMT +0.

Example:
2023-01-18T08:47:10+00:00
updated_at
string

The date and time the courier connection was updated. It uses the format YYYY-MM-DDTHH:mm:ssZ for the timezone GMT +0.

Example:
2023-01-19T08:47:10+00:00
Example
preparing...