sakthiveltofficial/dsh-shopify-plugins ↗★ 1
@shopify/dsh-shopify
Shopify plugin for the DeepSeek Harness: 210+ model-facing tools over the Shopify Admin REST and GraphQL APIs (products, orders, customers, inventory, fulfillments, discounts, content, webhooks, themes, marketing, billing and more), with Admin API access-token auth via env-var references.
AI Analysis
核心用途是让 AI 助手能够直接管理 Shopify 店铺的商品、订单、库存和客户。适合 Shopify 商家或运营人员通过 AI 实现电商业务自动化管理。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗🧠 Agent usage conventions (the "skills")
These conventions are injected into the agent's system prompt when the plugin mounts; they are also the ground rules for anyone prompting the agent with Shopify:
- IDs: REST tools take numeric resource IDs (e.g.
product_id: '8313381814466'); GraphQL tools take GIDs (gid://shopify/Product/123). Convert with GraphQL'slegacyResourceIdwhen crossing. - Pagination: REST list tools return
next_page_info— loop withpage_infountil it isnull; never silently truncate. GraphQL lists: requestpageInfo { hasNextPage endCursor }and paginate withafter. - Rate limits: REST bucket ~40 GET / ~20 write calls per minute; GraphQL ~1000 cost points/min (~50/s refill). On
429/THROTTLED/ a fullX-Shopify-Shop-Api-Call-Limitbucket, back off (1s, 2s, 4s) and reduce concurrency. Preferlimit: 50–100over huge pages. - userErrors: mutations return validation failures in the payload's
userErrorsarray with HTTP 200 — always inspect them. Top-level GraphQLerrorsare also validation, not transport, failures. - Deprecated REST endpoints: the REST Admin API is legacy; prefer
shopify_graphql_*tools for new product-model work (options, media, publishing) and anything REST does not expose. - Refunds: always call
shopify_calculate_refundfirst, then change transactionkindfrom'suggested_refund'to'refund'beforeshopify_create_refund. - Money: amounts are decimal strings (
'19.99'); always pass the shop currency (fromshopify_get_shop_details/shopify_query_shop) and never assume USD. - Timezones: Shopify stores timestamps in UTC, but date filters evaluate in the shop's local timezone (
iana_timezonefromshopify_get_shop_details) — adjust boundary-day queries. - Destructive actions (
shopify_delete_*,shopify_disable_gift_card) are irreversible: confirm with the user before executing.