For the complete documentation index, see llms.txt. This page is also available as Markdown.

List orders

Lists orders with filters, search and sorting.

get
Authorizations
api_keystringRequired

Your business's Cekat API key, from Settings → Developers & API in the Cekat dashboard (https://chat.cekat.ai/developers?section=apikeys). Available on the Business and Enterprise plans.

Query parameters
pageinteger · min: 1OptionalDefault: 1
limitinteger · min: 1 · max: 1000OptionalDefault: 100
order_statusstring · enumOptionalPossible values:
payment_statusstring · enumOptionalPossible values:
inbox_idstring · uuidOptional

Only orders from conversations in this inbox.

searchstringOptional
sort_fieldstring · enumOptionalDefault: created_atPossible values:
sort_directionstring · enumOptionalDefault: descPossible values:
start_datestring · dateOptional

Only include items created on or after this date (YYYY-MM-DD). Cannot be combined with start_datetime.

Example: 2026-10-01
end_datestring · dateOptional

Only include items created on or before the end of this date (YYYY-MM-DD). Cannot be combined with end_datetime.

Example: 2026-10-31
start_datetimestringOptional

Only include items created at or after this time (YYYY-MM-DDTHH:mm:ss, optional offset such as +07:00 or Z). Cannot be combined with start_date.

Example: 2026-10-01T08:00:00+07:00
end_datetimestringOptional

Only include items created at or before this time (YYYY-MM-DDTHH:mm:ss, optional offset). Cannot be combined with end_date.

Example: 2026-10-31T23:59:59+07:00
Header parameters
X-User-TimezonestringOptional

IANA time zone used to read date filters that have no offset. Defaults to Asia/Jakarta.

Example: Asia/Jakarta
Responses
200

A page of orders.

application/json
messagestringOptional
get/api/orders
GET /api/orders HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Accept: */*
{
  "message": "text",
  "data": {
    "orders": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "order_number": 1,
        "created_at": "2026-01-01T00:00:00.000Z",
        "order_status": "pending",
        "payment_method": "manual",
        "subtotal": 1,
        "discount": 1,
        "shipping_fee": 1,
        "vat": 1,
        "grand_total": 1,
        "currency": "IDR",
        "address": "text",
        "notes": "text",
        "contact_id": "123e4567-e89b-12d3-a456-426614174000",
        "conversation_id": "123e4567-e89b-12d3-a456-426614174000",
        "contact": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "display_name": "text",
          "phone_number": "text",
          "email": "text"
        },
        "cekat_orders_products": [
          {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "product_id": "123e4567-e89b-12d3-a456-426614174000",
            "product_name": "text",
            "quantity": 1,
            "price": 1,
            "ANY_ADDITIONAL_PROPERTY": "anything"
          }
        ],
        "invoices": [
          {
            "id": "text",
            "status": "PENDING",
            "amount": 1,
            "payment_link": "text",
            "pdf_link": "text",
            "is_sent": true,
            "expiry_date": "text",
            "paid_at": "text",
            "created_at": "2026-01-01T00:00:00.000Z",
            "ANY_ADDITIONAL_PROPERTY": "anything"
          }
        ],
        "ANY_ADDITIONAL_PROPERTY": "anything"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 1,
      "total_items": 1,
      "total_pages": 1
    },
    "filters": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  }
}

Last updated