Loading...
Was this page helpful?
This documentation provides a reference to the cancelOrderExchangeWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow cancels a confirmed exchange. It's used by the Cancel Exchange Admin API Route.
You can use this workflow within your customizations or your own custom workflows, allowing you to cancel an exchange for an order in your custom flow.
Source CodeWorkflow hook
Step conditioned by when
View step details
CancelOrderExchangeWorkflowInput
CancelOrderExchangeWorkflowInputexchange_id
stringno_notification
booleanOptionalcanceled_by
stringOptional