I am just about to start using this service after creating a BearerToken. Testing in Postman with the same data but I'm getting a response of Error 418 I'm a teapot (RFC 2324). The API and token are correct because I get a reponse when requesting our current orders - https://api.parcel.royalmail.com/api/v1/orders
Here is the Postman JSON:-
{
"items": [
{
"recipient": {
"address": {
"fullName": "Tom",
"companyName": "Test",
"addressLine1": "150",
"addressLine2": "Valley Close",
"addressLine3": "Elmdom",
"city": "Birmingham",
"county": "West Midlands",
"postcode": "B12 2YT",
"countryCode": "GB"
},
"emailAddress": "[email protected]"
},
"billing": {
"address": {
"fullName": "Tom",
"companyName": "Test",
"addressLine1": "150",
"addressLine2": "Valley Close",
"addressLine3": "Elmdom",
"city": "Birmingham",
"county": "West Midlands",
"postcode": "B12 2YT",
"countryCode": "GB"
},
"phoneNumber": "42425 5252552",
"emailAddress": "[email protected]"
},
"orderDate": "2025-01-07T14:15:22Z",
"subtotal": "0",
"shippingCostCharged": "0",
"total": "0"
}
] }
I know it's been a while but I don't suppose anyone would know why I get an 418 error, it isn't even one of the returned errors listed in the docs for this API call
Thanks