Skip to main content
GET
/
orders
List orders
curl --request GET \
  --url https://pandabase.io/api/orders \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Storefront-Id: <x-storefront-id>'
{
  "ok": true,
  "data": {
    "orders": [
      {
        "id": "ord_xyz789",
        "amount": 2999,
        "currency": "USD",
        "status": "pending",
        "customer": {
          "id": "<string>",
          "email": "jsmith@example.com"
        },
        "created_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

V3 API key authentication. Format: sk_v3_xxxxx

Headers

X-Storefront-Id
string
required

Your storefront/shop ID

Response

200 - application/json

Orders retrieved successfully

ok
boolean
Example:

true

data
object