← ClaudeAtlas

admin-graphqllisted

Build Shopify Admin GraphQL queries and mutations for products, orders, customers, inventory, and more. Covers cost-aware rate limiting, cursor pagination, bulk operations, global resource identifiers, and version-safe API usage.
khadinakbarlabs/shopify-app-builder · ★ 1 · API & Backend · score 62
Install: claude install-skill khadinakbarlabs/shopify-app-builder
## When to Use This Skill Use **Admin GraphQL API** when you need to: - Manage products, variants, collections, and pricing (preferred over REST for any business logic) - Query or modify orders, fulfillments, and refunds - Create or update customers and customer accounts - Adjust inventory across multiple locations - Create metafields and metaobjects for custom data - Set up webhooks for event subscriptions - Perform bulk operations on large datasets (1000+ records) - Access the latest Shopify features (GraphQL-only endpoints) **GraphQL vs REST comparison:** | Feature | GraphQL Admin | REST (Deprecated) | |---------|--------------|-------------------| | Rate Limiting | Cost-based; standard restore rate is 100 points/sec | Request bucket; standard restore rate is 2 requests/sec | | Pagination | Cursor-based (Relay pattern) | Offset/limit (deprecated) | | Field Selection | Precise (fetch only needed fields) | Fixed response shape (wasteful) | | Batch Operations | Native bulk operations (JSONL) | Multiple sequential requests | | Latest Features | Current platform features | Some newer features are GraphQL-only | | Status | Required for new public apps | Legacy since October 1, 2024 | --- ## API Endpoint & Authentication **Endpoint:** `https://{shop}.myshopify.com/admin/api/2026-07/graphql.json` **Authentication:** ```javascript const headers = { 'Content-Type': 'application/json', 'X-Shopify-Access-Token': process.env.SHOPIFY_ACCESS_TOKEN, }; ``` --- ## Cost-Based Ra