POST
shopify_order_cancel.py
Posts a GraphQL document to
POST /admin/api/2026-07/graphql.json, as every tool in this pack does.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Cancel an order. restock has to be stated: true returns the items to inventory, false leaves stock as it is. Shopify does this in the background and answers with a job, so no errors means accepted rather than finished. Cancelling cannot be undone.
from charter.packs import shopify
result = await shopify.order_cancel.ainvoke({"variables": ...})
POST /admin/api/2026-07/graphql.json, as every tool in this pack does.| Field | Type | Description |
|---|---|---|
variables * | OrderCancelVariables | The order to cancel. |
Was this page helpful?