- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
beginOrderExchangeValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the beginOrderExchangeValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that an exchange can be requested for an order. If the order is canceled, the step will throw an error.
Example#
Input#
BeginOrderExchangeValidationStepInput
BeginOrderExchangeValidationStepInputThe data to validate that an exchange can be requested for an order.
BeginOrderExchangeValidationStepInput
BeginOrderExchangeValidationStepInputorder
OrderDTOThe order's details.
order
OrderDTOWas this page helpful?