- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
cancelOrderClaimWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the cancelOrderClaimWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow cancels a confirmed order claim. It's used by the Cancel Claim API Route.
You can use this workflow within your customizations or your own custom workflows, allowing you to cancel a claim for an order in your custom flows.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
CancelOrderClaimWorkflowInput
CancelOrderClaimWorkflowInput
CancelOrderClaimWorkflowInput
CancelOrderClaimWorkflowInputclaim_id
stringThe ID of the claim to cancel.
claim_id
stringno_notification
booleanOptionalWhether to notify the customer of the cancellation.
no_notification
booleanOptionalcanceled_by
stringOptionalThe ID of the user canceling the claim.
canceled_by
stringOptionalWas this page helpful?