DocsAPI ReferenceCustomer/api/v1/customer/order-list
getCustomerPublic API v1

/api/v1/customer/order-list

Returns a paginated list of orders for the customer identified by identityId, including order lines, status, prices, and linked calendar events.

customergetApiV1CustomerOrder-list

Parameters

3 query

3 total
Query · 3
apiKeystringRequired

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

identityIdstringRequired

Logged user identity (from your frontend cookies). Learn more

pagestring

Page number (string, converted to number internally).

Default: 1

Request

GET /api/v1/customer/order-list

get
curl -X GET "https://api.bizkithub.com/api/v1/customer/order-list?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&identityId=Z9CPkS2o3UV163VQn5OUv0T8BQi8Fvdg&page=1" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

JSON payload

{
  "items": [
    {
      "id": "sSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S",
      "orderNumber": "25000055",
      "status": {
        "label": "Storno",
        "code": "storno",
        "backgroundColor": "#901020",
        "textColor": "#fff"
      },
      "price": "0 Kč",
      "notice": "Please reserve a trainer to me.",
      "insertedDate": "2025-01-10T16:19:40.150Z",
      "updatedDate": "2025-01-10T16:19:40.150Z",
      "expirationDate": "2025-01-10T16:19:40.150Z",
      "lines": [
        {
          "id": "2d33677772eddbd4e869c6ed6bf6d9f3",
          "label": "Jan Barášek GymRoom Vinohrady rezervace",
          "count": 1,
          "storno": false,
          "price": "110 Kč",
          "unit": "ks",
          "vat": 21,
          "creditAmount": 100,
          "insertedDate": "2025-01-10T16:19:40.150Z",
          "event": {
            "id": "7lRIAiC69gZMfwsDbG3CJvQdqnY15XdS",
            "calendarId": "2WRp6X5rSqQa321EjHB2mxZz74u74H84",
            "startTime": "2025-01-10T16:19:40.150Z",
            "endTime": "2025-01-10T16:19:40.150Z",
            "title": "Jan Barášek GymRoom Vinohrady rezervace",
            "isAllDay": false,
            "isBlocking": true,
            "isStorno": true
          }
        }
      ]
    }
  ]
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key