搜索

PythonReactSEOPDF
GitHub Skill

shopify-admin

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

askphill☆ 0 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

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'

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!