on GitHub" data-tooltip-id=":R1blcldb:">v2.5.1·
This documentation provides a reference to the cancelBeginOrderExchangeValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a requested exchange can be canceled. If the order or exchange is canceled, or the order change is not active, the step will throw an error.
CancelBeginOrderExchangeValidationStepInput
CancelBeginOrderExchangeValidationStepInputorder
OrderDTOorderExchange
OrderExchangeDTOorderChange
OrderChangeDTO