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