v1
latestOpenAPI 3.0.12026-07-242073551.1 MBShipping Accounts
Add Account
Add a shipping account for DHL Express and link it with an existing shipping location. <br />Ensure to have required carrier details ready like DHL Express account number, API key and API secret so that you can use the account for shipping with DHL Express.
post/v4/shippingAccounts/dhlexpress
Request body
Example request
{
"AccountNumber": "123456789012",
"AccountName": "AB VideoGames",
"AccountAlias": "RM-99112347707",
"ContactName": "John Smith",
"ContactNumber": "0123456789",
"ApiKey": "dhlexpress_api_key",
"ApiSecret": "dhlexpress_api_secret",
"ShippingLocations": [
{
"ShippingLocationId": "D94E8CFD-604B-4B87-83E9-3F20CAF02837",
"ShippingLocation": {
"LocationAlias": "Main Warehouse",
"Address": {
"AddressId": "John Brown Default",
"Line1": "Brown Cottage",
"Line2": "10 Sky Lane",
"Line3": "Hills End",
"Town": "Christchurch",
"Postcode": "TW20 0HJ",
"County": "Surrey",
"CountryCode": "GB",
"What3Words": "brick.space.employ",
"ContactPhone": "07123887422"
},
"Timezone": "Europe/London"
}
}
]
}Response
The shipping account was added successfully.