Skip to content

amherst

My feedback

2 results found

  1. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    amherst commented  · 

    (please excuse formattting, this forum broke the indents - how did you preserve yours in a code block?!)

    here is a successful json payload sent to [POST]https://api.parcel.royalmail.com/api/v1/orders, and the response from server.
    this request returns an order with label included in response, base64 encoded - note ''label': {'includeLabelInResponse': True},' in the request object

    REQUEST:
    {'items': [{'billing': {'address': {'addressLine1': 'MY FIRSTLINE',
    'addressLine2': '',
    'addressLine3': '',
    'city': 'MY CITY',
    'companyName': 'MY COMPANY NAME',
    'countryCode': 'GB',
    'county': 'COUNTY',
    'fullName': 'MY SENDER NAME',
    'postcode': 'me88sp'},
    'emailAddress': 'billme@sikdjfsdjbfgjksbdgf.com',
    'phoneNumber': '07888888888'},
    'label': {'includeLabelInResponse': True},
    'orderDate': '2026-03-06T13:33:02.692580',
    'packages': [{'packageFormatIdentifier': 'parcel',
    'weightInGrams': 10000},
    {'packageFormatIdentifier': 'parcel',
    'weightInGrams': 10000}],
    'postageDetails': {'receiveEmailNotification': True,
    'receiveSmsNotification': True,
    'sendNotificationsTo': 'recipient',
    'serviceCode': 'NDA'},
    'recipient': {'address': {'addressLine1': 'addr line1',
    'addressLine2': '',
    'addressLine3': '',
    'city': 'city',
    'companyName': 'Recip Comp name',
    'countryCode': 'GB',
    'county': 'county',
    'fullName': 'Testy Testson Recipient',
    'postcode': 'da163hu'},
    'emailAddress': 'recipient@sdgikhjbsdgijbsdigj.com',
    'phoneNumber': '07666666666'},
    'shippingCostCharged': 0,
    'subtotal': 0,
    'total': 0}]}

    RESPONSE:

    ```json
    {
    "successCount": 1,
    "errorsCount": 0,
    "createdOrders": [
    {
    "orderIdentifier": 1060,
    "createdOn": "2026-03-06T13:36:19.283472Z",
    "orderDate": "2026-03-06T13:33:02.692580",
    "printedOn": "2026-03-06T13:36:19.734235",
    "trackingNumber": "PK007810759GB_CON",
    "label": "{aVeryLongBase64String}",
    "labelErrors": [],
    "generatedDocuments": [
    "Label"
    ]
    }
    ],
    "failedOrders": []
    }
    ```

  2. 4 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    amherst commented  · 

    we are in the same situation. we regularly ship from and to arbitrary addresses. with parcelforce WDM api this was a breeze (as it is with another 3 or 4 courier APIs i have integrated) but with RM it is a nightmare.

    Have been liasing with tech and account reams at RM since the middle of last year but it frequently takes upto a week to get a reply from their email accoutns, and no phone number is provided.
    @victoria can i ask what your 'clunky workaround' is? we might need it!!

Feedback and Knowledge Base