v1
latestOpenAPI 3.0.12026-07-242073551.1 MBShipping Accounts
Add Account
Add a shipping account for InPost and link it with an existing shipping location. <br />Ensure to have required carrier details ready like InPost account name (client name allocated by InPost), username and password so that you can use the account for shipping with InPost.
post/v4/shippingAccounts/inpost
Request body
Example request
{
"AccountName": "AB VideoGames",
"AccountAlias": "RM-99112347707",
"ContactName": "John Smith",
"ContactNumber": "0123456789",
"ClientId": "example@inpost.co.uk",
"BearerToken": "1234567890",
"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.