shopify-admin-api

Automate Shopify products, orders, inventory, and customers via the GraphQL Admin API.

3|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill shopify-admin-api-tomtoto757
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: shopify-admin-api
Source: https://github.com/tomtoto757/ecomm-ai-team/tree/main/skills/platform-integrations-infrastructure/finsilabs/platform-shopify/shopify-admin-api
Command: npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill shopify-admin-api-tomtoto757

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @shopify/shopify-api.

What problem does it solve? Managing Shopify store data programmatically is error-prone: numeric vs GID ID mismatches, silent mutation failures hidden in userErrors, rate limits on large exports, and deprecated fulfillment endpoints all cause broken automations. This Skill provides correct, production-oriented patterns for the Shopify Admin API. ## Core Features & Use Cases - GraphQL Admin API Operations: Query and mutate products, variants, orders, customers, and inventory using the @shopify/shopify-api Node.js client with proper session setup. - Bulk Operations: Export thousands of products or orders asynchronously via bulkOperationRunQuery and download JSONL results, avoiding manual pagination and rate-limit failures. - Order Fulfillment & Inventory: Fulfill orders through the Fulfillment Orders API with tracking info, and adjust inventory quantities with inventoryAdjustQuantities. - Use Case: A warehouse team scans a barcode to generate a tracking number; a TypeScript module automatically marks the corresponding Shopify order as fulfilled, attaches tracking, and notifies the customer. ## Quick Start Use the shopify-admin-api skill to write a TypeScript script that exports all products from my Shopify store to a JSONL file using Bulk Operations.

Frequently Asked Questions about shopify-admin-api

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

FAQPage Schema
How do I fulfill a Shopify order programmatically with the Admin API?▼

Query the order's fulfillmentOrders first to get the fulfillment order ID, then call the fulfillmentCreate GraphQL mutation with trackingInfo and notifyCustomer. Since API version 2022-07, the legacy REST Fulfillments endpoint no longer works for this.

How to export all products from Shopify without hitting rate limits?▼

Use the bulkOperationRunQuery GraphQL mutation instead of paginated queries. Poll currentBulkOperation until status is COMPLETED, then download the resulting JSONL file from the provided URL immediately, since it is a time-limited signed URL.

Shopify GraphQL vs REST Admin API: which should I use?▼

GraphQL is recommended for most operations because its cost-based rate limit (1000 cost units/second) is more forgiving than REST's 40 requests/second, and it avoids over-fetching. REST remains practical for simple lookups like customers/search by email.

Why does my Shopify mutation return 200 but not apply changes?▼

Shopify mutations return HTTP 200 even when they fail at the application level. Always check the userErrors array in the mutation response and throw or handle the error when it is non-empty before treating the operation as successful.

Why does updating customer tags in Shopify delete existing tags?▼

The Shopify API replaces the tags field rather than merging it. Fetch the customer's current tags first, append the new tag to the list, and send the combined comma-separated string in the update request.

What ID format does the Shopify GraphQL Admin API require?▼

GraphQL requires global IDs in the format gid://shopify/Product/123, not plain numeric IDs. Convert REST numeric IDs by prefixing them with the appropriate resource GID before using them in queries or mutations.