Genesis GuideE-commerce · AI
ENPL
GuideResourcesdawidgac.com
Fulfillment Ops
Zmienia dane w sklepie — wymagany dry_run

Cancel and Restock

Cancel an unfulfilled order, restock the items and notify the customer.

BeginnerAPI 2025-01

Command

bash
shopify-admin-skills:cancel-and-restock store=your-store.myshopify.com
### name Cancel and Restock — Order Cancellation With Restock and Refund ### oneLiner Cancels an unfulfilled order, restores inventory, and issues a payment refund — in one confirmed step. ### whenToUse - When a customer requests cancellation before the order ships and you want to refund them immediately. - When a high-risk order is flagged and you want to cancel it with FRAUD reason before dispatch. - When a product is unavailable and you need to cancel the order due to out-of-stock and notify the customer. ### howToRun ``` Run skill: shopify-admin-cancel-and-restock Store: yourstore.myshopify.com dry_run: true order_id: "gid://shopify/Order/12345" reason: "CUSTOMER" restock: true refund: true notify_customer: true staff_note: "Customer cancelled before shipment" ``` ### whatYouGet A cancellation summary: order name, cancel reason, whether inventory was restocked, whether refund was issued, whether customer was notified, error count. No CSV — output appears directly in the conversation window. If `restock: true`, the summary lists the SKUs and quantities restored to inventory. ### polishContext ### safetyNote Always run with `dry_run: true` first — verify the order and fulfillment order status before committing. The `orderCancel` mutation is irreversible — a cancelled order cannot be reopened via the API. If the order has already been paid, set `refund: true` — cancellation without a refund will lead to disputes. If the warehouse has already started picking, do not cancel via API — contact them first.

Bazuje na open-source 40RTY-ai/shopify-admin-skills (MIT), rozszerzone o kontekst polskiego rynku przez Dawida Gaca.

Dawid Gac
WebsiteGuideResources
Genesis Guide by Dawid Gac© 2026 Dawid Gac