- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
cancelOrderFulfillmentValidateOrder - Medusa Core Workflows Reference
This documentation provides a reference to the cancelOrderFulfillmentValidateOrder
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that an order fulfillment can be canceled. If the fulfillment doesn't exist, or it has already been shipped, the step throws an error.
Example#
Input#
CancelOrderFulfillmentValidateOrderStep
CancelOrderFulfillmentValidateOrderStepThe data to validate the order fulfillment cancelation.
CancelOrderFulfillmentValidateOrderStep
CancelOrderFulfillmentValidateOrderSteporder
OrderDTO & objectThe order to cancel the fulfillment for.
order
OrderDTO & objectThe cancelation details.
Was this page helpful?