- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
cancelOrderChangeWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the cancelOrderChangeWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow cancels an order change.
You can use this workflow within your customizations or your own custom workflows, allowing you to wrap custom logic around canceling an order change.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
CancelOrderChangeDTO
CancelOrderChangeDTOThe details of the order change cancelation.
CancelOrderChangeDTO
CancelOrderChangeDTOid
stringThe ID of the order change.
id
stringcanceled_by
stringOptionalThe user or customer that canceled the order change.
canceled_by
stringOptionalmetadata
null | Record<string, unknown>OptionalHolds custom data in key-value pairs.
metadata
null | Record<string, unknown>OptionalWas this page helpful?