79336593

Date: 2025-01-07 16:03:27
Score: 1
Natty:
Report link

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

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): I know it's been
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MaximusP