Count orders (currently returns an empty object)
Reachable under orders:read. As captured against prod biz 398,
the endpoint returns data: {} — an empty object — regardless
of filters. Treat the count as not currently available via
the partner API until klikit ships an implementation; walk
listOrders with size=1 and use
data.total if you need a count today.
Authorizations
Authorization: Basic base64(partner_key:secret_key).
Credentials are issued by a klikit operator. The plaintext
secret_key is shown once at issuance and cannot be retrieved
later — store it securely. If lost, ask your operator to rotate
the secret to receive a new one. The old secret stops working
immediately on rotation; there is no overlap window.
Query Parameters
Lower bound of created_at (inclusive).
Upper bound of created_at (exclusive). Max window is 90 days.
Response
Empty data object — see description.
Response shape captured from prod biz 398:
{request_id, data: {}} — the data payload is an empty
object. The endpoint is reachable under orders:read but does
not currently return a count value. Treat the count as
unavailable until klikit confirms an implementation; partners
needing a count today should fall back to walking
listOrders.
"req_4d1b7e3f-..."
Endpoint-specific payload on success.
Machine-readable error code + human message. The code is stable
across releases — switch on code in your client code rather
than parsing the message text.
Common codes you will encounter as a partner: