Skip to main content

Overview

The Waffo Pancake GraphQL API provides read-only access to all your data. Use REST action endpoints for writes, and GraphQL for queries.
Authentication: API Key
The GraphQL API supports queries only. All write operations (create, update, delete) use the REST action endpoints.

Making a Request

Request Body

Status Codes


Schema Introspection

Recommended: Use standard GraphQL introspection to discover the full schema. This ensures you always work with the latest types and fields.
GraphQL types differ from REST/SDK types. For example, prices is a Record<string, PriceInfo> in REST but [CurrencyPrice!]! (array of {currency, priceInfo}) in GraphQL, and metadata is a parsed object in REST but a JSON string in GraphQL. Do not use SDK TypeScript type definitions to construct GraphQL queries — always use introspection or the examples below.

Discover All Available Queries

Discover Type Fields

API Key authentication gives you access to 18 query types including single-entity queries, list queries with filters, count queries, and analytics queries.

Filtering

GraphQL queries support filters using typed filter objects:
AmountFilter values are decimal strings in the currency’s major unit (e.g. "9.99"). An amount filter must be accompanied by a sibling currency: { eq: "..." } in the same filter object — a single currency per query. Cross-currency amount comparison is not supported.

Pagination

Use limit and offset for pagination. Use *Count queries to get total counts.

Environment-Specific Fields

The API Key environment affects which product data is returned:
  • version — Returns the version for the specified environment
  • status — Returns the status in the specified environment
A product may be 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