- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
orderEditUpdateItemQuantityValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the orderEditUpdateItemQuantityValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that the quantity of an existing item in an order can be updated in an order edit. If the order is canceled or the order change is not active, the step will throw an error.
Example#
Input#
OrderEditUpdateItemQuantityValidationStepInput
OrderEditUpdateItemQuantityValidationStepInputThe data to validate that the quantity of an existing item in an order can be updated in an order edit.
OrderEditUpdateItemQuantityValidationStepInput
OrderEditUpdateItemQuantityValidationStepInputorder
OrderDTOThe order's details.
order
OrderDTOorderChange
OrderChangeDTOThe order change's details.
orderChange
OrderChangeDTOWas this page helpful?