v1
latestOpenAPI 3.0.12026-07-242073551.1 MBShipping Accounts
Add Account
Add a shipping account for An Post and either link it with an existing shipping location or add a new shipping account that will be associated with the shipping account.
post/v4/shippingAccounts/anpost
Request body
Example request
{
"AccountNumber": "010857948",
"AccountName": "AB VideoGames",
"AccountAlias": "RM-99112347707",
"ContactName": "John Smith",
"ContactNumber": "0123456789",
"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.