- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
cancelBeginOrderExchangeWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the cancelBeginOrderExchangeWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow cancels a requested order 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 CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
CancelBeginOrderExchangeWorkflowInput
CancelBeginOrderExchangeWorkflowInputThe details to cancel a requested order exchange.
CancelBeginOrderExchangeWorkflowInput
CancelBeginOrderExchangeWorkflowInputexchange_id
stringThe ID of the exchange to cancel.
exchange_id
stringWas this page helpful?