/shoplazza:shoplazza-ordersfrom Shoplazza
Manages Shoplazza store orders via CLI: search, count, view, ship, refund, cancel, create, update, mark paid, plus payment transactions, fraud risk, after-sales, shipping zones/rates, and tracking carrier lookup.
Ships in Shoplazza. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
CRITICAL — before anything else, use Read on ../shoplazza-common/SKILL.md.
It owns every cross-cutting mechanic: the three access tiers, the output envelope (.data),
--dry-run, --jq (incl. "don't pass -r"), --fields, schema, api rest, auth / profiles,
and the safety protocol. This file covers only the orders domain and never repeats them.
The orders module manages the order lifecycle (search, count, get, create, update, cancel,
pay, delete) and its sub-resources: fulfillments (shipping records), refunds, fraud risks,
payment transactions, after-sales (post-sales) records, shipping zones/rates, and tracking
carriers. All three access tiers apply (tier-selection rule is in shoplazza-common — prefer
+shortcut).
Shortcuts exist for +search / +count / +ship / +refund / +update-tracking only —
every other operation (get, cancel, create, pay, and all sub-resources) is a spec leaf.
Orders is a large domain: this file is the router plus the high-frequency operations;
per-sub-resource depth lives in references/.
Intent → command, highest-fit tier first. The authoritative flags/params live in
shoplazza orders <cmd> --help and shoplazza schema orders.<cmd>, not this table.
| User intent | Command |
|---|---|
| Search / filter orders | orders +search [--email <addr>] [--keyword <no/name/email>] [--status …] [--financial-status …] [--fulfillment-status …] [--customer-id <id>] [--since <t>] [--until <t>] |
| Count orders | orders +count — same filters as +search, minus --page-limit / --cursor |
| Ship an order (发货) | orders +ship --order-id <id> --tracking <no> [--company <name>] [--company-code <code>] [--tracking-url <url>] [--line-items id:qty,…] |
Refund a buyer (退款; money → --dry-run first) | orders +refund --order-id <id> --amount <n> [--note <txt>] [--return-items] [--payment-line-id <id>] |
| Fix / update tracking info | orders +update-tracking --order-id <id> --fulfillment-id <id> --tracking <no> [--company <name>] [--company-code <code>] [--tracking-url <url>] [--notify] |
| Get one order by internal ID | orders get --params '{"order_id":"<id>"}' |
| Get order by order NUMBER (#…) | orders get-by-number --params '{"number":"<number>"}' |
List with filters +search lacks (ids, skus, tags, fuzzy search…) | orders list --params '{…}' (see schema orders.list) |
| Create an order on a customer's behalf (手工建单 / 代客下单) | orders create --data '{"order":{…}}' — heavy nested body → references/orders-create.md |
| Update order note / tags / shipping address | orders update --params '{"order_id":"<id>"}' --data '{"order":{…}}' |
Cancel an order (destructive → --dry-run first) | orders cancel --params '{"order_id":"<id>"}' [--data '{"reason":"…"}'] |
| Mark an order paid | orders pay --params '{"order_id":"<id>"}' --data '{"payment_line":{"payment_channel":"<channel>","payment_method":"<method>","transaction_no":"<txn>"}}' — empty body = bogus TEST payment; real channel/method/txn go in payment_line, custom display name in gateway (schema orders.pay) |
Delete an order (destructive → --dry-run first) | orders delete --params '{"order_id":"<id>"}' |
| Fulfillment records CRUD / cancel / complete | orders fulfillments … → references/fulfillments.md |
| Refund records (one order / store-wide / finish) | orders refunds … → references/refunds.md |
| Fraud risk records (标记高风险) | orders risks … → references/risks.md |
| Payment transactions on an order (支付流水) | orders transactions list --params '{"order_id":"<id>"}' → references/transactions.md |
| After-sales records (售后) | orders post-sales … → references/post-sales.md |
| Shipping zones / rates / available lines (运费区域) | orders shipping-schemas … → references/shipping-schemas.md |
| Which carrier is this tracking number? (承运商识别) | orders tracking-carriers detect --params '{"tracking_number":"<no>"}' → references/tracking-carriers.md |
"发货 / 退款 / 取消订单 / ship / refund / cancel" is an action, not a question:
references/).AskUserQuestion, never fabricate — especially --amount (money) and
--tracking (a real-world tracking number you cannot invent). Bundle missing fields into
ONE question batch.+refund moves money — ALWAYS --dry-run first, restate in plain language (which
order, how much, note, inventory returned or not), wait for the user's go-ahead, then
run for real. An order paid through customize_payment or bogus stays in progress
until orders refunds finish → references/refunds.md.orders cancel / orders delete / fulfillments cancel /
risks delete / post-sales delete / shipping-schemas delete-zone /
shipping-schemas save-general) — --dry-run
first + restate, wait for the user's go-ahead, then run.orders pay writes a payment record — same treatment as +refund: --dry-run
first, restate (which order, channel, transaction no), wait for the user's go-ahead.
Never send it with an empty body — no body silently records a bogus TEST payment.
payment_line's payment_channel / payment_method / transaction_no are free
strings, not enums — fill them from the user's wording (e.g. "走的 PayPal" →
"payment_channel":"paypal","payment_method":"paypal"), transaction_no verbatim;
do not block asking which enum value to use.+ship / +update-tracking / +search / +count are safe to run directly once
required values are confirmed.| User says | Shortcut | How to extract values |
|---|---|---|
| 查订单 / 找订单 / 今天有没有新订单 / search or list orders | +search | a known email → --email; a partial name / order-no fragment / anything else → --keyword; "今天/最近 N 天" → --since only (leave --until open); status words → the enum table below |
| 还没发货的订单 / unshipped orders | +search --fulfillment-status waiting | 未发货 = waiting — there is no unfulfilled value |
| 某客户 / 某邮箱的订单 / orders from customer X | +search | customer id → --customer-id; a full email address → --email (exact match, the precise path); never stuff an id or an address into --keyword when a dedicated flag exists |
| 有多少订单 / 订单总数 / how many orders | +count | "总共" = no filters, do not ask for a time range; count from .data.count |
| 发货 / 标记发货 / ship order X | +ship | tracking no → --tracking verbatim; carrier name → --company; "通知买家" → then +update-tracking --fulfillment-id <.data.fulfillment.id> --tracking <same no> --notify (the create request has no email option); whole order = omit --line-items |
| 部分发货 / ship only some items | +ship --line-items id:qty,… | per-line quantities as line-id:qty pairs |
| 退款 / 给买家退 X 元 / refund the buyer | +refund | amount → --amount verbatim; stated reason → --note; "库存退回去/restock" → --return-items |
| 改运单号 / 运单号填错了 / fix the tracking number | +update-tracking | needs all three: --order-id, --fulfillment-id, --tracking |
| 订单号 #… 的详情 / look up order by number | get-by-number (leaf) | --params '{"number":"…"}'; a leading # is dropped by the CLI; internal IDs go to get instead |
| 手工建单 / 代客下单 / create an order for a customer | create (leaf) | heavy nested body under order → references/orders-create.md; resolve variant_id via products +search; never fabricate buyer identity, address, or price |
| 取消订单 / cancel order X | cancel (leaf) | id → --params; a stated reason → --data '{"reason":"…"}' (optional); not fulfillments cancel |
| 取消发货记录 / cancel a fulfillment | fulfillments cancel (leaf) | both order_id and fulfillment_id in --params; not orders cancel |
| 标记高风险 / 像欺诈单 / flag as fraud | risks create (leaf) | 高/中/低 → level high/medium/low; stated reason → details array → references/risks.md |
| 订单支付流水 / payment transactions | transactions list (leaf) | order id → --params; this is buyer payments, not billing |
| 运单号 X 是哪家承运商 / which carrier | tracking-carriers detect (leaf) | --params '{"tracking_number":"…"}' — don't list + match by hand |
| 设置运费区域 / 邮费 / shipping zones & rates | shipping-schemas leaves | → references/shipping-schemas.md |
If multiple rows match, ask which one. Don't guess.
Only no-default flags are askable.
| Shortcut | Must ASK if user did not specify | Infer if possible | Default silently |
|---|---|---|---|
+refund | --amount (money — never fabricate; you may offer to look up the order total via orders get for a full refund, but still confirm the number); --order-id if absent | --note from the stated reason; --return-items from 库存退回/restock wording | --payment-line-id (only needed when the order has multiple payment lines — the CLI errors with candidates; pick or ask then) |
+ship | --tracking (never invent a tracking number); --order-id if absent | --company from a named carrier (keep the user's naming); --tracking-url only if the user gave one; a follow-up +update-tracking … --notify from 通知买家 wording | --line-items (omit = every line's remaining quantity), --company-code |
+update-tracking | whichever of --order-id / --fulfillment-id / --tracking is missing | --company, --tracking-url only if the user gave them | --company-code, --notify (set only on explicit re-notify wording) |
+search / +count | (nothing — all filters optional; never ask) | filters from wording via the enum table | --page-limit; time bounds only from the user's own time words |
cancel (leaf) | order id if absent | reason body only if the user stated one | reason (optional — omit if not given) |
create (leaf) | any missing required buyer/address sub-field (last_name, email, country_code, province, province_code, city, address, zip) and the line item(s) — never fabricate identity, address, or price; ask or look up variant_id via products +search | currency_code from the store (shop info get --jq '.data.currency'); a neutral shipping_name label ("Standard Shipping"); an omitted catalog price (the variant prices it) | notify flags, tags, note, discount_application, payment_line (record payment via orders pay) |
Flags with a CLI default or omit-to-disable — they never appear in a question:
--notify (omit unless the user asks to notify) · --line-items (default: every line's remaining quantity) ·
--company / --company-code (optional carrier info) · --payment-line-id (only after a
multi-payment-line error) · --note (only if a reason was given) · --return-items (explicit
wording only) · --tracking-url · --page-limit · --since / --until (only from the
user's own time words — never invent a time range).
| User says | Verdict |
|---|---|
| "订单 111222 退 15.50 给买家,备注 wrong size,库存退回" | REFUND — +refund --order-id 111222 --amount 15.50 --note "wrong size" --return-items; --dry-run first, restate, wait for go-ahead, then run |
| "给订单 333444 退个款" | ASK — the amount (money; never invent). Do NOT ask which order — it's in the utterance. May offer a full-refund lookup, still confirm |
| "订单 555 可以发货了,运单号 YT123,中通,通知买家" | SHIP — +ship --order-id 555 --tracking YT123 --company 中通, then +update-tracking --order-id 555 --fulfillment-id <.data.fulfillment.id> --tracking YT123 --notify to email the buyer; safe to run directly |
| "把订单 666 标记发货" | ASK — the tracking number (required, never fabricate); carrier is optional, offer alongside but don't block on it |
| "找最近 7 天还没发货的订单" | SEARCH — +search --fulfillment-status waiting --since <today-7d>; no --until |
| "取消订单 777,原因是买家申请" | CANCEL — orders cancel --params '{"order_id":"777"}' --data '{"reason":"买家申请"}'; --dry-run first + restate |
| "订单 888 像欺诈单,标成高风险" | RISK — orders risks create --params '{"order_id":"888"}' --data '{"risk":{"level":"high","details":["…"]}}'; restate before writing |
| "手工帮客户下个单:1 件 variant V123,单价 29.9,寄给 John Doe ([email protected]),美国加州洛杉矶 123 Main St 90012" | CREATE — build the nested order body (line_items variant_id+quantity+price, full shipping_address incl. province_code, shipping_line, tax_total, currency_code), restate + --dry-run first → references/orders-create.md |
| "帮客户下个单" (no items / buyer given) | ASK — which variant(s) & quantity, and the buyer's shipping details (name, email, address); never fabricate them. shipping_price/tax_total are money — use stated amounts, or "0.00" only when the user implies no charge and restate that |
From schema orders.list — used by +search / +count / list:
| Field | Values |
|---|---|
--status (order) | opened (pending payment) · placed (in progress) · finished · cancelled |
--financial-status | waiting · paying · authorized · partially_paid · paid · cancelled · failed · refunding · refund_failed · refunded · partially_refunded |
--fulfillment-status | initialled · waiting (未发货 / waiting to ship) · partially_shipped · shipped · partially_finished · finished · cancelled · returning · partially_returned · returned |
unfulfilled / fulfilled are NOT valid values — "还没发货" maps to waiting.
Each flag takes one or more values (--financial-status paid,refunded, or repeat the flag) and
matches orders in any of them; a value not in this table is exit 2.
Time window — which field. +search --since/--until bound the placed time
(placed_at_min/placed_at_max, both inclusive) — that is the sales clock and the right default. Values:
now, today, yesterday, -7d / +12h (relative to now), 2026-09-01, 2026-09-01 08:00,
RFC3339 (2026-09-01T00:00:00+08:00) or unix seconds; anything else is exit 2. A value without an
offset is UTC (so are today / yesterday): for a store-local day pass the offset, e.g.
--since 2026-09-01T00:00:00+08:00 — the offset is the first five characters of the shop's timezone (shop info get): +0800, or +0100 from Berlin's +010014 (+0200 in summer time). The CLI sends RFC3339 UTC; --dry-run shows it. To filter on a different moment, drop to the list leaf, which exposes one
_min/_max pair per time field; pick it from the user's verb:
| User's words | Param |
|---|---|
| 下单 / 支付 / 成交 / 售出 / 卖 / 卖了多少 / 销量 / 销售额 / placed / paid / sold | placed_at_min / placed_at_max |
| 创建 / 新增 / created | created_at_min / created_at_max |
| 更新 / 修改 / 最后交互 / updated / last changed | updated_at_min / updated_at_max |
| 完成 / 订单完成 / finished | finished_at_min / finished_at_max |
| 发货完成 / 履约完成 / fulfilled | fulfilled_at_min / fulfilled_at_max |
created_at ≠ placed_at (easy to get wrong). A Shoplazza order row is created the moment a
buyer enters checkout — before payment — so created_at counts abandoned / unpaid carts too.
placed_at is when the order was actually placed (paid). For anything measuring real sales
(销量 / 卖了多少 / 成交量 / 销售额 / how much sold), filter on placed_at_*, never created_at_*,
or you fold abandoned carts into the number. Use created_at_* only when the user literally asks
how many orders were created / 新增. With no time verb at all: if a financial_status or
fulfillment_status filter is present the intent is sales → placed_at_*; otherwise created_at_*.
Restate the resolved window. When you turn a relative phrase (最近 7 天 / 这个月) into
--since / --until, tell the user the concrete window you used (e.g. 2026-09-10 to
2026-09-17) — a wrong boundary or timezone then shows up instead of silently skewing the count.
orders list exposes three ways to match on the same field. Pick the narrowest one that
expresses the request — shoplazza-common's precision ladder, in this domain's terms:
| Tier | Params | Use when |
|---|---|---|
| Exact-match arrays | customer_emails, shipping_emails, shipping_phones, order_tags, skus, spus, product_ids, browser_ips, ids | You have the whole value. +search --email is the shortcut for customer_emails. |
| Keyword | keyword (+ optional keyword_scope_fields to narrow which fields it searches) | A fragment, or the user did not say which field it is. +search --keyword maps here. |
| Fuzzy trio | fuzzy_fields + fuzzy_keywords + fuzzy_relation | Prefix/fragment matching on specific named fields, or several fields AND/OR-ed together. Leaf only. |
keyword_scope_fields and fuzzy_fields share one vocabulary — the field-name list in
schema orders.list --view request under fuzzy_fields (name, number, id,
shipping_email, tracking_number, discount_code, …). Read it there rather than guessing.
Reads like orders, actually belongs elsewhere (and lookalikes this domain owns):
| Sounds like | Actually belongs to | Command |
|---|---|---|
| 退款 / 给顾客退钱 / refund a buyer | HERE (not discounts — 折扣/优惠码 price the cart; not billing — app charges) | orders +refund |
| 订单支付流水 / buyer payment transactions | HERE | orders transactions list |
| 应用收费流水 / app-charge transactions billed to the merchant | shoplazza-billing | billing transactions |
| 快递承运商查询 / 运单号识别 / tracking carrier lookup | HERE | orders tracking-carriers {detect,list} |
| 注册实时运费报价承运商 / real-time rate quote carriers | shoplazza-shop | shop carrier-services |
| 运费区域 / 邮费方案 / shipping zones & rates | HERE | orders shipping-schemas … |
| 按邮箱查某客户的订单 / a customer's orders | HERE (+search --email <addr> or --customer-id) | resolving the id via customers +search first is fine — the final query is an orders query |
| 客户资料本身 / the customer record | shoplazza-customers | customers +search / customers get |
| 库存 / 补货 / product stock | shoplazza-products | products +stock / products inventory |
| 退款时库存退回 / restock on refund | HERE | orders +refund --return-items |
Authorization is by domain (the unit of --domain), not per command. Authorization flow is
in shoplazza-common → Authentication.
| Operation | Needs | Grant |
|---|---|---|
read (get / get-by-number / list / +search / +count / sub-resource reads) | orders read scope | auth login --domain orders |
write (+ship / +refund / +update-tracking / create / update / cancel / pay / delete / sub-resource writes) | orders write scope | auth login --domain orders |
Look up exact scope literals with shoplazza auth scopes; --domain orders expands into them.
Domain-specific pitfalls only (generic ones — .data prefix, --jq without -r — are in
shoplazza-common).
| Symptom | Cause | Fix |
|---|---|---|
Filtered on unfulfilled / fulfilled | Not in the enum | 未发货 = waiting; see the enum table above |
orders get finds nothing for a #… number | get takes the internal order_id; order numbers are a different key | get-by-number --params '{"number":"…"}' (a leading # is fine) |
+refund errors "order has N payment_lines" | Multi-payment-line order needs an explicit choice | Re-run with --payment-line-id from the listed candidates |
+refund / +ship dry-run prints TWO requests | These shortcuts GET the order first (resolve payment lines / fulfillable items), then POST | Expected. A value the live run reads from the order shows as "<resolved-from-step-0>" in the dry-run POST body (+refund: payment_line_id unless --payment-line-id is given, refund_line_items with --return-items; +ship: line_items unless --line-items is given) |
| Cancelled the order when only a shipment should die (or vice versa) | 取消订单 ≠ 取消发货记录 | Order → orders cancel; fulfillment → orders fulfillments cancel (both path ids) |
Hand-built refunds create body for a simple refund | The leaf needs the full body incl. refund_payments | Prefer +refund; leaf only for split/itemized refunds → references/refunds.md |
Store-wide refunds list for one order's records | Two different endpoints | One order → refunds list-by-order --params '{"order_id":"…"}' |
| A search "for one buyer" returns the whole store | The filter was dropped, or the page just looks small | Cross-check with orders +count filtered vs unfiltered before answering — see shoplazza-common → "Reading a filtered list" |
keyword_scope_fields=["email"] or ["order_no"] returns 0 hits | Those are the schema description's example strings, not the accepted vocabulary | Use the fuzzy_fields field names (shipping_email, number, name, …) — see "Searching orders precisely" |
unknown flag: --fields | No orders command has --fields | Project with --jq |
orders create rejected for missing fields | Whole body nests under an order wrapper; line_items[].quantity, shipping_address (last_name, email, country_code, province, province_code, city, address, zip), shipping_line (shipping_name, shipping_price), tax_total, currency_code are ALL required | Build the full nested body → references/orders-create.md (verified against schema orders.create --view request) |
orders create order fails despite country/province set | country_code / province_code (ISO: US, CA) are the required keys — the display-name country / province are optional | Send both codes; see references/orders-create.md |
Copied the orders pay payment_line object into orders create | In orders create the schema types payment_line as a string (registry flattening), unlike orders pay where it is an object | Omit payment_line on create; record payment afterward with orders pay |
orders pay with no body "succeeded" unexpectedly | Empty body = bogus test payment | Pass payment_line (payment_channel, payment_method, transaction_no) for a real channel, or gateway for a custom method |
# 1. Orders placed in the last 7 days that are not yet shipped
orders +search --fulfillment-status waiting --since <today-7d, e.g. 2026-07-16>
# 2. Paid orders for one customer
orders +search --customer-id 100200 --financial-status paid
# 3. All orders from a buyer email — exact, complete, and checked against the store total
orders +search --email [email protected] --page-limit 250
orders +count --email [email protected] --jq '.data.count' # must be < the unfiltered count
orders +count --jq '.data.count'
# 4. Total order count, no filters
orders +count --jq '.data.count'
# 5. Order detail by order number
orders get-by-number --params '{"number":"2026071500123"}' --jq '.data.order'
# 6. Ship the whole order, then email the buyer (the create request has no email option)
FID=$(orders +ship --order-id 4300123 --tracking SF0011223344 --company "顺丰" --jq '.data.fulfillment.id')
orders +update-tracking --order-id 4300123 --fulfillment-id "$FID" --tracking SF0011223344 --notify
# 7. Fix a mistyped tracking number (no re-notify)
orders +update-tracking --order-id 991100 --fulfillment-id 77001 --tracking YT5544332211
# 8. Partial refund + return inventory — dry-run, restate, wait for go-ahead, then run
orders +refund --order-id 887799 --amount 19.90 --note "wrong size" --return-items --dry-run
orders +refund --order-id 887799 --amount 19.90 --note "wrong size" --return-items
# 9. Cancel an order with a reason — dry-run first
orders cancel --params '{"order_id":"660011"}' --data '{"reason":"买家重复下单"}' --dry-run
orders cancel --params '{"order_id":"660011"}' --data '{"reason":"买家重复下单"}'
# 10. Flag an order as high fraud risk with a reason
orders risks create --params '{"order_id":"445500"}' \
--data '{"risk":{"level":"high","details":["收货地址与 IP 所在国家不一致"]}}'
# 11. Which carrier owns this tracking number?
orders tracking-carriers detect --params '{"tracking_number":"9400111899223344556677"}'
# 12. Payment transactions on an order
orders transactions list --params '{"order_id":"778899"}'
# 13. One order's refund records
orders refunds list-by-order --params '{"order_id":"220033"}' --jq '.data.records'
finish for custom-channel refundsshoplazza orders <cmd> --helpshoplazza schema orders.<cmd> (nested: schema orders.fulfillments.create)--dry-run / --jq / safety): ../shoplazza-common/SKILL.mdshortcuts/orders/*.goreferences/fulfillments.md (opens in a new tab)references/orders-create.md (opens in a new tab)references/post-sales.md (opens in a new tab)references/refunds.md (opens in a new tab)references/risks.md (opens in a new tab)references/shipping-schemas.md (opens in a new tab)references/tracking-carriers.md (opens in a new tab)references/transactions.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub shoplazza/shoplazza-cli --plugin shoplazza10 skills in this plugin
/shoplazza-billingUse when an app developer needs to bill a Shoplazza merchant for app usage through the CLI — one-time application charges, recurring (subscription) charges, metered usage charges, and app-charge transaction records. Triggers include 应用收费 / 订阅费 / 一次性收费 / 用量费 / 计费 / app billing / recurring / one-time / usage charge. NOT buyer order payments or refunds (那是 shoplazza-orders 的 transactions / +refund)./shoplazza-commonShared foundation for the shoplazza CLI: installing the CLI (安装 CLI / command not found), authentication (auth login — account-level and store-level; 登录 / 授权), auth status/scopes/logout, store switching (auth store use; 切换店铺 / 换店), multi-store profiles (add/list/use/rename/remove/info), the three access tiers (+shortcut / spec leaf / api rest), the output envelope ({ok,data} / .data), --dry-run / --jq / --fields / --format, schema introspection, api rest fallback, update notice, the safety protocol, and how to trust a filtered list read (pagination / has_more / cursor, silently-dropped filters, the exact-match precision ladder). Read this FIRST on first use of the shoplazza CLI, when the CLI is missing, when logging in / authorizing / switching store or profile, on permission errors, when a search or filter looks like it returned too much, and before using any domain skill. Platform developer-docs questions (an app's OAuth, webhook HMAC, Liquid, changelog) → shoplazza-docs./shoplazza-customersUse when the user wants to manage customers (buyers) on a shoplazza store through the CLI — create a customer profile, find a customer by email or phone, get customer details or the total customer count, update names / tags / email or SMS marketing subscription, or manage a customer's shipping addresses including the default checkout address. Triggers include 客户 / 买家 / 顾客 / 客户资料 / 新建客户 / 按邮箱查客户 / 按手机号查客户 / 给客户打标签 / 退订营销 / 收货地址 / 默认地址 / customer profile / new customer / find customer by email or phone / customer count / tag a customer / unsubscribe marketing / shipping address / default address. Finding the customer RECORD by email (按邮箱找客户资料) belongs HERE (customers +search); that customer's ORDER HISTORY (该客户下过的订单 / orders placed by this email) belongs to shoplazza-orders./shoplazza-discountsUse when the user wants to manage discount activities on a shoplazza store through the CLI — promotional campaigns, coupon codes, flash sales, buy-X-get-Y offers, rebates / tiered satisfy-N-get-M discounts, free-shipping codes, M-for-N (Nth-item-off) discounts, discount stacking / combination rules, or coupon (voucher) campaigns. Triggers include 满减 / 折扣码 / 优惠码 / 闪购 / 满X减Y. NOT gift cards (redeemable store credit → shoplazza-products `gift-cards`). NOT showing a sale inside a theme card / 首页促销卡片 (→ shoplazza-themes)./shoplazza-docsSearch and read the Shoplazza developer docs on shoplazza.dev (开发者文档 / 查文档) with `shoplazza docs search --query --locale` / `docs get --url`; no login needed. Use when the user asks how the Shoplazza platform works or what it allows: app development (应用开发), OAuth and access scopes for their own app (应用授权 / 权限范围), verifying webhook HMAC signatures (webhook 验签), app proxy (应用代理), checkout / theme / function extensions (结账扩展 / 主题扩展), theme development and the Liquid reference (主题开发 / Liquid 语法 / 对象 / 过滤器); before writing code that calls the Shoplazza API or Liquid; on an unfamiliar API error or field (报错 / 字段含义); when upgrading API versions (版本升级 / changelog). Prefer it over WebFetch or web search for shoplazza.dev. NOT store data (→ domain skills); NOT a CLI command's params / body / response (→ `shoplazza schema` / `--help`); NOT logging the CLI in (→ shoplazza-common); NOT webhook subscriptions (→ shoplazza-webhook); NOT editing the store's theme or AI cards (→ shoplazza-themes)./shoplazza-productsUse when the user wants to manage a shoplazza store's product catalog through the CLI — creating / publishing / unpublishing products (建品 / 新建商品 / 上新 / 上架 / 下架), searching or counting the catalog (搜商品 / 找商品 / 商品数量 / how many products I sell), changing prices (改价 / 调价 / set price), adjusting stock (库存 / 补货 / 加库存 / 减库存 / inventory), product tags (标签), variants / SKUs (变体 / 规格), collections and collects (商品合集 / 商品分组), product images (商品图片 / 主图), gift cards (礼品卡 / 储值卡 — gift cards live HERE, not in discounts), customer product reviews (买家评价 / 评论 / product reviews), warehouse locations (仓库 / 库位), suppliers and procurement (供应商 / 采购单 / 进货). NOT discount codes / coupons / 优惠码 / 折扣码 / 满减 (→ shoplazza-discounts); NOT the store media library / file uploads / 媒体库文件 and NOT metafields / 元字段 (→ shoplazza-shop); NOT order fulfillment / 发货 (→ orders domain); NOT theme card images / 装修配图 / 商品详情页模板 (→ shoplazza-themes).Other plugins' skills for the same job