This endpoint allows you to create your shipper account via API. You can integrate our API with your system and manage the shipper account according to your needs.
Please ensure that your account credentials are correct. Different carriers have different requirements for account credentials, you can refer to Shipper account's credentials for more details.
Content-Type
Create a shipper account
Please refer to Shipper account's credentials
Address object: the description of address information
address_line1 of address
Country in ISO 3166-1 alpha 3 code
contact_name of address
contact_phone of address
fax_number of address
email of address
company_name of address
address_line2 of address
address_line3 of address
city of address
state of address
postal_code of address
type of address
tax id
tax id type. Only applies to DHL Express, DHL eCommerce US, DHL eCommerce UK.
identification number
identification type
eori number
Create a shipper account
Meta data object.
Code of Meta
Message of Meta
Details of Meta
Whether this request will be retryable or not
ShipperAccount object: the description of shipper account information
Shipper Account ID
Address object: the description of address information
Couirer slug
The description of the account
The type of the shipper_account
Shipper account timezone
A formatted date.
A formatted date.
{
"slug": "dhl",
"description": "My Shipper Account",
"timezone": "Asia/Hong_Kong",
"credentials": {
"account_number": "******",
"password": "******",
"site_id": "******"
},
"address": {
"contact_name": "AfterShip Shipping",
"company_name": "AfterShip Shipping",
"street1": "230 W 200 S LBBY",
"city": "Salt Lake City",
"state": "UT",
"postal_code": "84101",
"country": "USA",
"phone": "123456789",
"email": "[email protected]"
}
}{ "meta": { "code": 200, "message": "OK", "details": [] }, "data": { "id": "00000000-0000-0000-0000-000000000000", "description": "My Shipper Account", "slug": "dhl", "status": "enabled", "timezone": "Asia/Hong_Kong", "type": "default", "created_at": "2016-02-12T10:30:50+00:00", "updated_at": "2016-09-23T04:56:26+00:00", "address": { "country": "HKG", "contact_name": "Sir Foo", "phone": "11111111", "fax": "+1 206-654-3100", "email": "[email protected]", "company_name": "Foo Store", "street1": "Workshop A, 10/F, Wah Shing Industrial Building", "street2": "18 Cheung Shun Street, Lai Chi Kok", "city": "Lai Chi Kok", "type": "business", "postal_code": null, "state": null, "street3": null, "tax_id": null } } }