Shopify Check if Order Cancellable
Get order inventory
Inputs
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 |
Outputs
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 |
Updated 6 months ago