API Reference Card
All examples use three environment variables:
SHOPIFY_STORE (your myshopify.com subdomain, e.g. acme-store), SHOPIFY_ACCESS_TOKEN (private app access token starting with shpat_), and MAVERA_API_KEY. Python examples use requests; JavaScript examples use fetch. GraphQL queries target the 2024-10 API version.Prerequisites
1
Shopify private app with required scopes
Create a custom app in Shopify Admin → Settings → Apps and sales channels → Develop apps. Grant scopes:
read_customers, read_orders, read_products, read_inventory, read_checkouts. Copy the Admin API access token (starts with shpat_).2
Mavera API key
Get your key from Mavera dashboard. The key starts with
mvra_live_.3
Install dependencies
4
Environment variables
Jobs
Rate Limits & Production Notes
Production Checklist
- Secrets in env vars or secrets manager
- Exponential backoff with jitter on all API calls
- Bulk operations for datasets > 10k records
- Structured logging and error alerting
- Tested on Shopify development store
- API version pinned to
2024-10; rate limit headers monitored - Pagination cursors handled for all list endpoints
Shopify GraphQL Admin API
Official GraphQL reference with schema explorer.
Mavera API Reference
Personas, focus groups, brand voices, and generations.
Shopify Bulk Operations
Async queries for large datasets.
Integration Quick Reference
Cross-platform patterns for all Mavera integrations.