Loading...
Was this page helpful?
This documentation provides a reference to the updateOrderEditAddItemValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a new item can be updated in an order edit. If the order is canceled, the order change is not active, the item isn't in the order edit, or the action isn't adding an item, the step will throw an error.
UpdateOrderEditAddItemValidationStepInput
UpdateOrderEditAddItemValidationStepInputorder
OrderDTOorderChange
OrderChangeDTO