For AI agents: visit https://docs.digitalgenius.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.
Shopify Check if Order Cancellable
| Name | Type | Description |
|---|
| Shopify Token | SensitiveString | Shopify API token |
| Shopify Domain | String | Shopify domain |
| Order ID | String | Order ID |
| Tag | Optional String | Final Sale tag to check against the product tags, if this tag is present on at least one product in the order line items then order considered not cancelleable |
| Name | Type | Description |
|---|
| Success | Boolean | Whether successfully retrieved all the Shopify Data |
| Is Cancellable | List | Whether the order is cancellable based on different criteria |
| Reason | String | A reason on why the order can't be cancelled: Order already cancelled, Order financial status is not paid, Order fulfilled/partially fulfilled, At least one fulfillment order is not open, At least one fulfillment order is not open, At least one product includes the final sale tag, Order is cancellable |