Loading...
Was this page helpful?
This documentation provides a reference to the exchangeAddNewItemValidationStep. It belongs to the @medusajs/medusa/core-flows package.
This step validates that new or outbound items can be added to an exchange. If the order or exchange is canceled, or the order change is not active, the step will throw an error.
ExchangeAddNewItemValidationStepInputExchangeAddNewItemValidationStepInputorderOrderDTOorderExchangeOrderExchangeDTOorderChangeOrderChangeDTO