curl --request GET \
--url https://api.pandabase.io/v2/core/stores/{storeId}/cases \
--header 'Authorization: Bearer <token>'{
"ok": true,
"data": {
"items": [
{
"id": "<string>",
"subject": "<string>",
"status": "OPEN",
"priority": "LOW",
"orderId": "<string>",
"customerId": "<string>",
"lastMessageAt": "2023-11-07T05:31:56Z",
"lastMessageBy": "CUSTOMER",
"unreadCount": 123,
"escalated": true,
"closedAt": "2023-11-07T05:31:56Z",
"closedBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"customer": {
"id": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"order": {
"id": "<string>",
"orderNumber": "<string>",
"amount": 123,
"currency": "<string>"
}
}
],
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"totalPages": 123
}
}
}List support cases for the store. Sorted by lastMessageAt desc, then createdAt desc.
Requires CASES_READ scope.
curl --request GET \
--url https://api.pandabase.io/v2/core/stores/{storeId}/cases \
--header 'Authorization: Bearer <token>'{
"ok": true,
"data": {
"items": [
{
"id": "<string>",
"subject": "<string>",
"status": "OPEN",
"priority": "LOW",
"orderId": "<string>",
"customerId": "<string>",
"lastMessageAt": "2023-11-07T05:31:56Z",
"lastMessageBy": "CUSTOMER",
"unreadCount": 123,
"escalated": true,
"closedAt": "2023-11-07T05:31:56Z",
"closedBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"customer": {
"id": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"order": {
"id": "<string>",
"orderNumber": "<string>",
"amount": 123,
"currency": "<string>"
}
}
],
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"totalPages": 123
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.pandabase.io/llms.txt
Use this file to discover all available pages before exploring further.
Store API token. Use the sk_ prefixed secret key as the Bearer token.
Store ID (shp_ prefix)
12 - 48x >= 11 <= x <= 100OPEN, AWAITING_CUSTOMER, AWAITING_MERCHANT, CLOSED LOW, NORMAL, HIGH, URGENT Filter to a single customer.
Filter to a single order.