Documentation

Shopify Check if Order Cancellable

Get order inventory

Inputs

NameTypeDescription
Shopify TokenSensitiveStringShopify API token
Shopify DomainStringShopify domain
Order IDStringOrder ID
TagOptional StringFinal 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

NameTypeDescription
SuccessBooleanWhether successfully retrieved all the Shopify Data
Is CancellableListWhether the order is cancellable based on different criteria
ReasonStringA 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