shopify

Query Shopify Admin and Storefront GraphQL APIs via curl.

Updated Sep 10, 2026
One-click install
npx skills add https://github.com/loteiron/ZeusAgent --skill shopify-loteiron
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: shopify
Source: https://github.com/loteiron/ZeusAgent/tree/main/optional-skills/productivity/shopify
Command: npx skills add https://github.com/loteiron/ZeusAgent --skill shopify-loteiron

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing a Shopify store programmatically usually requires an SDK or app framework; this Skill lets you work with products, orders, inventory, customers, and metafields directly through GraphQL API calls using only curl and an access token. ## Core Features & Use Cases - Product & Catalog Management: Search, paginate, create, and update products and variants through the Admin GraphQL API. - Orders, Customers & Inventory: Pull recent orders, manage customers, and adjust or set inventory quantities per location. - Bulk Operations & Webhooks: Run bulk query exports for large datasets and subscribe to webhook events like ORDERS_CREATE. - Use Case: Ask the agent to list the 20 most recent paid orders with line items, or to set a variant's stock to 100 at a specific location, and it executes the correct GraphQL mutation with proper error checking. ## Quick Start Use the shopify skill to list my store's 20 most recent paid orders with their line items and totals.

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 and a JSON body containing your query and variables. Always check the top-level errors array and per-field userErrors, since HTTP 200 does not mean success.

How do I get a Shopify Admin API access token?▼

In Shopify admin, go to Settings, Apps and sales channels, Develop apps, create an app, configure Admin API scopes, and install it. The token starting with shpat_ is shown only once, so copy it immediately. After January 2026, new apps should be created via the Dev Dashboard.

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

Use GraphQL for all new admin work. The REST Admin API has been legacy since 2024-04 and only receives security fixes. GraphQL also uses GID string identifiers like gid://shopify/Product/123 instead of numeric IDs.

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_orders or write_products. Reconfigure the scopes on the app in Shopify admin, then reinstall the app to regenerate the token.

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

Use the bulkOperationRunQuery mutation to start a bulk query, poll currentBulkOperation until status is COMPLETED, then download the resulting JSONL file. Nested connections appear as separate lines linked by __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. Request read_all_orders through the app's protected-data settings to access historical orders.