shopify-admin

askphill's avatarfrom askphill

Fetch data from Shopify Admin API. Use when querying products, orders, customers, files, images, videos, or uploading content to Shopify.

0stars🔀0forks📁View on GitHub🕐Updated Jan 10, 2026

When & Why to Use This Skill

This Claude skill provides a robust interface for the Shopify Admin API, enabling automated management of e-commerce store data. It allows users to efficiently query products, orders, and customers, while also facilitating the bulk upload and retrieval of media assets like images and videos through the Shopify GraphQL API. By streamlining store administration, it helps merchants and developers maintain their Shopify presence with programmatic precision.

Use Cases

  • Inventory Management: Quickly search and list products using specific queries to audit stock levels, titles, and product details without manual store navigation.
  • Automated Media Workflows: Bulk upload product images, promotional videos, and documents directly to the Shopify admin, significantly reducing manual data entry time.
  • Customer & Order Data Retrieval: Fetch comprehensive datasets for customers and orders to generate custom reports or sync information with external CRM and marketing tools.
  • Advanced Store Customization: Execute custom GraphQL queries to perform complex administrative tasks or retrieve specific data points not covered by standard scripts.
nameshopify-admin
descriptionFetch data from Shopify Admin API. Use when querying products, orders, customers, files, images, videos, or uploading content to Shopify.

Shopify Admin API

Fetch data from your Shopify store using the Admin GraphQL API.

Requirements

Set these environment variables:

  • STORE - Your Shopify store name (e.g., my-store for my-store.myshopify.com)
  • ADMIN_API_TOKEN - Your Admin API access token

Fetch Products

bash .claude/skills/shopify-admin/scripts/fetch-products.sh

Options:

  • --limit N - Number of products (default: 10)
  • --query "search term" - Filter products by title

Examples:

# Fetch 10 products
bash .claude/skills/shopify-admin/scripts/fetch-products.sh

# Fetch 25 products
bash .claude/skills/shopify-admin/scripts/fetch-products.sh --limit 25

# Search for specific products
bash .claude/skills/shopify-admin/scripts/fetch-products.sh --query "coffee"

Fetch Files (Images/Videos)

bash .claude/skills/shopify-admin/scripts/fetch-files.sh

Options:

  • --limit N - Number of files (default: 20)
  • --type TYPE - Filter by type: IMAGE, VIDEO, DOCUMENT, or ALL (default)

Examples:

# Fetch all files
bash .claude/skills/shopify-admin/scripts/fetch-files.sh

# Fetch only images
bash .claude/skills/shopify-admin/scripts/fetch-files.sh --type IMAGE

# Fetch 50 videos
bash .claude/skills/shopify-admin/scripts/fetch-files.sh --type VIDEO --limit 50

Upload Files

bash .claude/skills/shopify-admin/scripts/upload-file.sh <file-path> [alt-text]

Supported formats: jpg, png, gif, webp, svg, mp4, mov, webm, pdf

Examples:

# Upload an image
bash .claude/skills/shopify-admin/scripts/upload-file.sh ./hero.jpg "Hero banner image"

# Upload a video
bash .claude/skills/shopify-admin/scripts/upload-file.sh ./promo.mp4 "Product promo video"

Custom Queries

For custom GraphQL queries, use the base script:

bash .claude/skills/shopify-admin/scripts/query.sh 'YOUR_GRAPHQL_QUERY'