AGENT SKILL

shopify

Manage Shopify stores - products, orders, customers, and inventory via Admin API.

License 许可
MIT
最近更新
2026-04-05
Stars
★ 7
Forks
1

01 前言 Front Matter

name
shopify
metadata
{ "clawdbot": { "emoji": "?", "requires": { "env": [ "SHOPIFY_STORE", "SHOPIFY_ACCESS_TOKEN" ] } } }
description
Manage Shopify stores - products, orders, customers, and inventory via Admin API.

02 资源文件 1

03 SKILL.md 正文

Shopify

Manage e-commerce stores.

Environment

export SHOPIFY_STORE="your-store.myshopify.com"
export SHOPIFY_ACCESS_TOKEN="shpat_xxxxxxxxxx"

List Products

curl "https://$SHOPIFY_STORE/admin/api/2024-01/products.json" \
  -H "X-Shopify-Access-Token: $SHOPIFY_ACCESS_TOKEN"

Create Product

curl -X POST "https://$SHOPIFY_STORE/admin/api/2024-01/products.json" \
  -H "X-Shopify-Access-Token: $SHOPIFY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "product": {
      "title": "New Product",
      "body_html": "<p>Description</p>",
      "vendor": "My Brand",
      "product_type": "Clothing",
      "variants": [{"price": "29.99", "sku": "SKU123"}]
    }
  }'

List Orders

curl "https://$SHOPIFY_STORE/admin/api/2024-01/orders.json?status=any" \
  -H "X-Shopify-Access-Token: $SHOPIFY_ACCESS_TOKEN"

Get Order Details

curl "https://$SHOPIFY_STORE/admin/api/2024-01/orders/{order_id}.json" \
  -H "X-Shopify-Access-Token: $SHOPIFY_ACCESS_TOKEN"

Update Inventory

curl -X POST "https://$SHOPIFY_STORE/admin/api/2024-01/inventory_levels/set.json" \
  -H "X-Shopify-Access-Token: $SHOPIFY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"location_id": 123, "inventory_item_id": 456, "available": 100}'

Links

04 同仓库更多 Skills