- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
cancelFulfillmentWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the cancelFulfillmentWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow cancels a fulfillment. It's used by the Cancel Fulfillment Admin API Route.
You can use this workflow within your own customizations or custom workflows, allowing you to cancel a fulfillment within your custom flows.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
CancelFulfillmentWorkflowInput
CancelFulfillmentWorkflowInputThe data to cancel a fulfillment.
CancelFulfillmentWorkflowInput
CancelFulfillmentWorkflowInputid
stringThe ID of the fulfillment to cancel.
id
stringWas this page helpful?