- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
orderEditAddNewItemValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the orderEditAddNewItemValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that new items can be added to an order edit. If the order is canceled or the order change is not active, the step will throw an error.
Example#
Input#
OrderEditAddNewItemValidationStepInput
OrderEditAddNewItemValidationStepInputThe data to validate that new items can be added to an order edit.
OrderEditAddNewItemValidationStepInput
OrderEditAddNewItemValidationStepInputorder
OrderDTOThe order's details.
order
OrderDTOorderChange
OrderChangeDTOThe order change's details.
orderChange
OrderChangeDTOWas this page helpful?