Loading...
Was this page helpful?
This documentation provides a reference to the cancelExchangeValidateOrder. It belongs to the @medusajs/medusa/core-flows package.
This step validates that an exchange can be canceled. If the exchange is canceled, or any of the fulfillments are not canceled, the step will throw an error.
CancelExchangeValidateOrderStepInputCancelExchangeValidateOrderStepInputorderExchangeOrderExchangeDTOorderReturnReturnDTO & object