shopify

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Working with a Shopify store programmatically normally requires an SDK or app framework; this Skill lets you query and mutate products, orders, customers, inventory, and metafields directly through the Shopify GraphQL Admin API using only curl and an access token. ## Core Features & Use Cases - Product & Catalog Management: Search, paginate, create, and update products and variants, including prices, SKUs, and tags, using GraphQL queries and bulk variant mutations. - Orders, Customers & Inventory: List and filter orders by financial or fulfillment status, search and create customers, and adjust or set inventory quantities per location. - Metafields, Bulk Operations & Webhooks: Read and write custom metafields, run bulk operations to export large catalogs as JSONL, and subscribe to webhook events like ORDERS_CREATE with HMAC verification. - Use Case: A merchant asks to find all unfulfilled paid orders from last week, adjust stock for a restocked variant at a specific location, and tag affected customers — all done with a few curl-based GraphQL calls. ## Quick Start Set SHOPIFY_ACCESS_TOKEN and SHOPIFY_STORE_DOMAIN in your environment, then ask the assistant 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 API with curl?

Send a POST request to https://your-store.myshopify.com/admin/api/2026-01/graphql.json with Content-Type: application/json and the X-Shopify-Access-Token header containing your shpat_ token. The body is a JSON object with query and variables fields.

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, then install it. The token starting with shpat_ is shown once on install. After January 2026, new apps must be created via the Dev Dashboard instead.

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 is the supported path for products, orders, inventory, and metafields.

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

A 403 with a valid token means the app is missing a required Admin API scope, such as read_orders or write_inventory. Reconfigure the scopes on the app and reinstall it to regenerate the token with the new permissions.

Why do I only see the last 60 days of Shopify orders?

Without the read_all_orders scope, order queries silently cap results at the recent window and return no error. Request read_all_orders through the app's protected-data settings to access full order history.

How do I export all products from Shopify without hitting rate limits?

Use a bulk operation: run bulkOperationRunQuery with your products query, poll currentBulkOperation until status is COMPLETED, then download the resulting JSONL file. This bypasses per-request query cost limits for large catalogs.