- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
cancelValidateOrder - Medusa Core Workflows Reference
This documentation provides a reference to the cancelValidateOrder
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that an order can be canceled. If the order has fulfillments that aren't canceled, or the order was canceled previously, the step throws an error.
Example#
Input#
CancelValidateOrderStepInput
CancelValidateOrderStepInputThe data to validate the order's cancelation.
CancelValidateOrderStepInput
CancelValidateOrderStepInputorder
OrderDTOThe order to cancel.
order
OrderDTOThe cancelation details.
Was this page helpful?