Catalog action Integrations

Cancel a pending product order placed with order-product. Only orders that have not started processing can be cancelled; once the retailer begins fulfilling the order, cancellation is no longer possible. Ideal for: undoing accidental orders, cancellation workflows, order management.

At a Glance

FieldValue
Action IDcancel-product-order
CategoryIntegrations
ConnectorNot required
Requires gasNo
Funds movementNone declared
Tagsshopping, order, cancel, ecommerce, write

Payload Schema

FieldTypeRequiredDescription
orderIdstringYesOrder identifier returned by order-product.

Result Schema

FieldTypeRequiredDescription
orderIdstringYesOrder identifier that was cancelled.
cancelledbooleanYesTrue when the cancellation was accepted.

Examples

json
{ "type": "cancel-product-order", "payload": { "orderId": "example-orderId" }, "children": []}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.