Royal Mail · Example Payload

Create Order

Example request for creating a tracked 24 domestic UK parcel order via the Royal Mail Click and Drop API.

ShippingPostal ServicesLabelsTrackingLogisticsBarcodesClick and DropUK

Create Order is an example object payload from Royal Mail, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

summarydescriptionrequestresponse

Example Payload

Raw ↑
{
  "summary": "Create a tracked domestic UK order",
  "description": "Example request for creating a tracked 24 domestic UK parcel order via the Royal Mail Click and Drop API.",
  "request": {
    "items": [
      {
        "orderReference": "ORD-2026-001",
        "isRecipientABusiness": false,
        "recipient": {
          "address": {
            "fullName": "Jane Smith",
            "addressLine1": "10 Downing Street",
            "city": "London",
            "postcode": "SW1A 2AA",
            "countryCode": "GB"
          },
          "phoneNumber": "07700900000",
          "emailAddress": "jane.smith@example.com"
        },
        "sender": {
          "tradingName": "Example Shop Ltd",
          "emailAddress": "orders@exampleshop.co.uk"
        },
        "packages": [
          {
            "weightInGrams": 500,
            "packageFormatIdentifier": "smallParcel",
            "dimensions": {
              "heightInMms": 150,
              "widthInMms": 200,
              "depthInMms": 100
            },
            "contents": [
              {
                "name": "Blue Widget",
                "SKU": "WIDGET-BLUE-001",
                "quantity": 2,
                "unitValue": 12.99,
                "unitWeightInGrams": 200,
                "customsDeclarationCategory": "commercialSaleOfGoods"
              }
            ]
          }
        ],
        "orderDate": "2026-06-13T09:00:00Z",
        "plannedDespatchDate": "2026-06-14T09:00:00Z",
        "subtotal": 25.98,
        "shippingCostCharged": 4.99,
        "total": 30.97,
        "currencyCode": "GBP",
        "postageDetails": {
          "sendNotificationsTo": "recipient",
          "serviceCode": "TRM24",
          "receiveEmailNotification": true,
          "receiveSmsNotification": false,
          "requestSignatureUponDelivery": false
        }
      }
    ]
  },
  "response": {
    "successCount": 1,
    "errorsCount": 0,
    "createdOrders": [
      {
        "orderIdentifier": 100123456,
        "orderReference": "ORD-2026-001",
        "createdOn": "2026-06-13T09:05:00Z",
        "orderDate": "2026-06-13T09:00:00Z",
        "trackingNumber": "TT123456789GB",
        "packages": [
          {
            "packageNumber": 1,
            "trackingNumber": "TT123456789GB"
          }
        ]
      }
    ],
    "failedOrders": []
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/create-order"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.