v1
latestOpenAPI 3.0.12026-07-242073551.1 MBShipping Accounts
Add Account
Add a shipping account for Royal Mail and either link it with an existing shipping location or add a new shipping location that will be associated with the shipping account.
<br />
<br />Note: Before adding a shipping account with Royal Mail, ensure to have the required carrier details, such as the Royal Mail account number, posting location, OBA access code, and receiving hub, so that you can seamlessly use the account for shipping with Royal Mail.
post/v4/shippingAccounts/rm
Request body
Example request
{
"AccountNumber": "9912347707",
"AccountName": "AB VideoGames",
"AccountRegisteredEmail": "my.email@example.com",
"AccountAlias": "RM-99112347707",
"RegisteredBillingPostcode": "TW20 0HJ",
"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"
},
"PostingLocationCode": "2345654321",
"ObaAccessCode": "123456",
"ReceivingHubCode": "002610"
}
]
}Response
The shipping account was added successfully.