This endpoint enables the submission of a batch of customer orders data. Not all customer orders in the batch need to be associated to the same organisation TRKREF. The batch of customer orders data should be provided as a json in the request body as described below. If the batch is accepted a 202 response code will be sent back, along with an UUID that uniquely identifies this request. This functionality is enabled only for some organisations. Please contact support if you need to enable it.

❗️

This functionality is enabled only for some organisations. Please contact support if you need to enable it.

JSON Object Attributes

Json array with the list of customer orders data being submitted, as below. Each element in the array should follow the same json model as for Single Submission.

[
  {...},
  {...},
  {...},
]
[
  {
    "trkref":"TRKREF123",
    "order_ref": "ABC123",
    "order_date": "10-12-2014",
    "fulfilment_date": "24-12-2014",
    "language": "en",
    "locale": "en-GB",
    "customer": {
      "email": "[email protected]",
      "cutomer_ref": "1122",
      "title": "MR",
      "first_name": "John",
      "country": "GB"
    },
    "order_items": [
      {
        "sku": "PROD1",
        "price": "25",
        "currency": "GBP",
        "metadata": {
          "field_1": "Value 1",
          "field_2": "Value 2"
        }
      },
      {
        "sku": "PROD2",
        "price": "33",
        "currency": "GBP",
        "metadata": {
          "field_1": "Value 1",
          "field_2": "Value 2"
        }
      }
    ]
  },
  {...}
]
Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!