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