Skip to main content
GET
/
stores
/
{storeId}
/
cases
List cases
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.

Authorizations

Authorization
string
header
required

Store API token. Use the sk_ prefixed secret key as the Bearer token.

Path Parameters

storeId
string
required

Store ID (shp_ prefix)

Required string length: 12 - 48

Query Parameters

page
integer
default:1
Required range: x >= 1
limit
integer
default:25
Required range: 1 <= x <= 100
status
enum<string>
Available options:
OPEN,
AWAITING_CUSTOMER,
AWAITING_MERCHANT,
CLOSED
priority
enum<string>
Available options:
LOW,
NORMAL,
HIGH,
URGENT
customerId
string

Filter to a single customer.

orderId
string

Filter to a single order.

Response

Paginated list of cases

ok
boolean
required
data
object
required