v1
latestOpenAPI 3.0.12026-07-242073551.1 MBShipping Accounts
Link Locations
Link one or more shipping locations with a Royal Mail shipping account. <br />Ensure to have required carrier details ready: Royal Mail Posting Location number, OBA access codes and receiving hub, so that you can link it successfully.
post/v4/shippingAccounts/rm/{shippingAccountId}/linkLocations
Path parameters
shippingAccountIdstring required
A unique identifier for the shipping account assigned by the system (ShippingAccountId) or by you (AccountAlias), allowing for efficient reference and management of individual accounts within the system. <br /> <br />Note: The information provided in this field and the ShippingLocationId field are being linked with each other.
Request body
Example request
[
{
"ShippingLocationId": "D94E8CFD-604B-4B87-83E9-3F20CAF02837",
"PostingLocationCode": "2345654321",
"ObaAccessCode": "123456",
"ReceivingHubCode": "002610",
"RegisteredBillingPostcode": "TW20 0HJ"
}
]Response
The shipping location(s) have been linked to the account successfully.