ManagementTerminal ordersTerminal orders company level

Get a list of orders

GET
/companies/{companyId}/terminalOrders

Returns a lists of terminal products orders for the company identified in the path. To filter the list, use one or more of the query parameters.

To make this request, your API credential must have one of the following roles:

  • Management API—Terminal ordering read
  • Management API—Terminal ordering read and write

In the live environment, requests to this endpoint are subject to rate limits.

Authorization

AuthorizationBasic <token>

In: header

Path Parameters

companyId*string

The unique identifier of the company account.

Query Parameters

customerOrderReference?string

Your purchase order number.

status?string

The order status. Possible values (not case-sensitive): Placed, Confirmed, Cancelled, Shipped, Delivered.

offset?integer

The number of orders to skip.

Formatint32
limit?integer

The number of orders to return.

Formatint32

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/companies/string/terminalOrders"

Example response with the terminal orders for a company

{  "data": [    {      "id": "5265677890100681",      "customerOrderReference": "YOUR_REFERENCE_C2",      "status": "Placed",      "shippingLocation": {        "id": "S2-232A6D2967356F424F4369432B3F486B6A6D",        "name": "YOUR_COMPANY HQ - POS Ops",        "contact": {          "firstName": "Paul",          "lastName": "Green",          "email": "Paul.Green@company.com"        },        "address": {          "streetAddress": "Simon Carmiggeltstraat",          "streetAddress2": "6-50",          "postalCode": "1011 DJ",          "city": "Amsterdam",          "country": "NL"        }      },      "billingEntity": {        "id": "Company.YOUR_COMPANY",        "name": "YOUR_COMPANY",        "taxId": "NL1234567890",        "email": "Paul.Green@company.com",        "address": {          "streetAddress": "Simon Carmiggeltstraat 6-50",          "postalCode": "1011 DJ",          "city": "Amsterdam",          "country": "NL"        }      },      "orderDate": "2020-06-10T17:03:11.000Z",      "items": [        {          "id": "TBOX-MX925-422-EU",          "name": "MX925 Package",          "quantity": 1        }      ]    },    {      "id": "9415936144678634",      "customerOrderReference": "YOUR_REFERENCE_C1",      "status": "Cancelled",      "shippingLocation": {        "id": "S2-232A6D2967356F424F4369432B3F486B6A6D",        "name": "YOUR_COMPANY HQ - POS Ops",        "contact": {          "firstName": "Paul",          "lastName": "Green",          "email": "Paul.Green@company.com"        },        "address": {          "streetAddress": "Simon Carmiggeltstraat",          "streetAddress2": "6-50",          "postalCode": "1011 DJ",          "city": "Amsterdam",          "country": "NL"        }      },      "billingEntity": {        "id": "Company.YOUR_COMPANY",        "name": "YOUR_COMPANY",        "taxId": "NL1234567890",        "email": "Paul.Green@company.com",        "address": {          "streetAddress": "Simon Carmiggeltstraat 6-50",          "postalCode": "1011 DJ",          "city": "Amsterdam",          "country": "NL"        }      },      "orderDate": "2022-01-03T16:41:07.000Z",      "items": [        {          "id": "TBOX-V400m-774-EU",          "name": "V400m Package",          "quantity": 5        }      ]    }  ]}