updateOrderChangeActionsWorkflow - Medusa Core Workflows Reference

This documentation provides a reference to the updateOrderChangeActionsWorkflow. It belongs to the @medusajs/medusa/core-flows package.

This workflow updates one or more order change actions.

You can use this workflow within your customizations or your own custom workflows, allowing you to wrap custom logic around updating order change actions.

Source Code

Examples#

Steps#

Workflow hook

Step conditioned by when

View step details

Input#

UpdateOrderChangeActionDTO[]UpdateOrderChangeActionDTO[]
idstring
The ID of the order change action.
internal_notenull | stringOptional
The internal note of the order change action.

Output#

OrderChangeActionDTO[]OrderChangeActionDTO[]
idstring
The ID of the order change action
order_change_idnull | string
The ID of the associated order change
order_changenull | OrderChangeDTO
The associated order change
order_idnull | string
The ID of the associated order
return_idnull | string
The ID of the associated return.
claim_idnull | string
The ID of the associated claim.
exchange_idnull | string
The ID of the associated exchange.
ordernull | OrderDTO
The associated order
referencestring
The reference of the order change action
reference_idstring
The ID of the reference
The action of the order change action
detailsnull | Record<string, unknown>
The details of the order change action
internal_notenull | string
The internal note of the order change action
created_atstring | Date
When the order change action was created
updated_atstring | Date
When the order change action was updated
Was this page helpful?
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break