Overview
The Waffo Pancake GraphQL API provides read-only access to all your data. Use REST action endpoints for writes, and GraphQL for queries.The GraphQL API supports queries only. All write operations (create, update, delete) use the REST action endpoints.
Making a Request
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
query | string | Yes | GraphQL query string |
variables | object | No | Query variables |
Status Codes
| Status | Description |
|---|---|
| 200 | Query succeeded (GraphQL errors in response body errors field) |
| 400 | Missing query / depth exceeded / invalid environment / missing or invalid role |
| 401 | Authentication failed |
| 403 | Operation type not allowed (only Query supported) |
| 500 | Internal server error |
Schema Introspection
Discover All Available Queries
Discover Type Fields
Filtering
GraphQL queries support filters using typed filter objects:| Type | Operators | Example |
|---|---|---|
StringFilter | eq, ne, in, contains | { storeId: { eq: "STO_xxx" } } |
DateTimeFilter | eq, gt, lt, gte, lte | { createdAt: { gte: "2026-01-01" } } |
IntFilter | eq, gt, lt, gte, lte | { amount: { gte: 1000 } } |
BooleanFilter | eq | { isActive: { eq: true } } |
Pagination
Uselimit and offset for pagination. Use *Count queries to get total counts.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of results to return |
offset | integer | Number of results to skip |
Environment-Specific Fields
The API Key environment affects which product data is returned:version— Returns the version for the specified environmentstatus— Returns the status in the specified environment
active in test but inactive in production if it hasn’t been published yet.
Query Examples
Stores & Products
Query stores, one-time products, subscription products, and product versions
Orders & Payments
Query orders, subscription orders, payments, and refund tickets
Analytics
Revenue statistics, payment analytics, trend analysis, and customer insights