Store APIsCases
List cases
Returns a list of support cases on the store, most recent first. Requires the CASES_READ scope.
AuthorizationBearer <token>
Bearer token authentication. Pass the secret directly in the Authorization header. Token secrets start with sk_.
In: header
Path Parameters
storeId*string
Length
12 <= length <= 48Query Parameters
page?integer
Range
1 <= valueDefault
1limit?integer
Range
1 <= value <= 100Default
25status?|||
priority?|||
customerId?string
Length
12 <= length <= 48orderId?string
Length
12 <= length <= 48Header Parameters
idempotency-key?string
Length
8 <= length <= 32Response Body
application/json
application/json
curl -X GET "https://example.com/stores/stringstring/cases/"{ "ok": true, "data": { "items": [ { "id": "case_8q1mzj0kxw5h7n4tr3bcfp2v", "subject": "License key not working", "status": "OPEN", "priority": "NORMAL", "orderId": "ord_p2v8q1mzj0kxw5h7n4tr3bcf", "customerId": "cus_j8h0r1n4tzcbfp2v8q1mzwx5", "lastMessageAt": "2026-05-14T13:00:00.000Z", "lastMessageBy": "CUSTOMER", "unreadCount": 1, "escalated": false, "closedAt": null, "closedBy": null, "createdAt": "2026-05-14T12:55:00.000Z", "updatedAt": "2026-05-14T13:00:00.000Z" } ], "pagination": { "page": 1, "limit": 25, "total": 1, "totalPages": 1 } }}