skills/smithery.ai/openclaw-shopify

openclaw-shopify

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

Weekly Installs
1
First Seen
11 days ago
Installed on
openclaw1