shopify

Manage Shopify products, orders, customers, and inventory via GraphQL Admin API with curl.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill shopify-chensihakniroth
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: shopify
Source: https://github.com/Chensihakniroth/ANAKOT-AGENT/tree/main/optional-skills/productivity/shopify
Command: npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill shopify-chensihakniroth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Working with Shopify stores programmatically usually requires SDKs, app frameworks, or navigating the legacy REST API. This Skill lets you operate a Shopify store directly through the GraphQL Admin and Storefront APIs using curl, covering products, orders, customers, inventory, metafields, bulk operations, and webhooks. ## Core Features & Use Cases - Product & Catalog Management: Search, paginate, create, and update products and variants with bulk mutations like productVariantsBulkCreate and productVariantsBulkUpdate. - Orders, Customers & Inventory: Query recent orders with filters, manage customers, and adjust or set inventory quantities per location using inventoryAdjustQuantities and inventorySetQuantities. - Bulk Operations & Webhooks: Run bulkOperationRunQuery for full catalog dumps as JSONL, and subscribe to events like ORDERS_CREATE with HMAC verification. - Use Case: A merchant asks to find all active hoodies, raise their prices by 10%, and export the full product catalog. The Skill searches products with query filters, updates variant prices in bulk, and starts a bulk operation to download the catalog as JSONL. ## Quick Start Set SHOPIFY_ACCESS_TOKEN and SHOPIFY_STORE_DOMAIN in your environment, then ask the agent to list the 20 most recent paid orders from your Shopify store.

Frequently Asked Questions about shopify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query the Shopify Admin GraphQL API with curl?▼

Send a POST request to https://your-store.myshopify.com/admin/api/2026-01/graphql.json with the header X-Shopify-Access-Token containing your shpat_ token. The body is JSON with a query field and optional variables, and you should pipe responses through jq for readability.

Should I use the Shopify REST API or GraphQL Admin API?▼

Use the GraphQL Admin API for all new work. The REST Admin API has been legacy since 2024-04 and only receives security fixes, while GraphQL provides bulk operations, query cost-based rate limiting, and access to newer mutations like productVariantsBulkCreate.

Why does my Shopify API request return 403 with a valid token?▼

A 403 with a valid token means the app is missing the required Admin API scope, such as read_products or write_inventory. Reconfigure the scopes on your custom app in Shopify admin, then reinstall the app to regenerate the token.

How do I export all products from Shopify when rate limits block large queries?▼

Use bulkOperationRunQuery to start a bulk query, then poll currentBulkOperation until the status is COMPLETED. Shopify generates a JSONL file URL you can download with curl, where each line is a node and nested connections reference their parent via __parentId.

Why does my Shopify orders query return fewer results than expected?▼

Without the read_all_orders scope, order queries silently cap at the most recent 60 days with no error returned. Request read_all_orders through the app's protected-data settings to access historical orders.

What is the difference between Shopify Admin API and Storefront API tokens?▼

Admin API tokens start with shpat_ and use the X-Shopify-Access-Token header for full store management. Storefront API tokens are for public read-only customer-facing queries and use the X-Shopify-Storefront-Access-Token header against a different endpoint path.