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 CodeExamples#
Steps#
Workflow hook
Step conditioned by when
View step details
Input#
UpdateOrderChangeActionDTO[]
UpdateOrderChangeActionDTO[]
UpdateOrderChangeActionDTO[]
UpdateOrderChangeActionDTO[]id
stringThe ID of the order change action.
id
stringinternal_note
null | stringOptionalThe internal note of the order change action.
internal_note
null | stringOptionalOutput#
OrderChangeActionDTO[]
OrderChangeActionDTO[]
OrderChangeActionDTO[]
OrderChangeActionDTO[]id
stringThe ID of the order change action
id
stringorder_change_id
null | stringThe ID of the associated order change
order_change_id
null | stringThe associated order change
order_id
null | stringThe ID of the associated order
order_id
null | stringreturn_id
null | stringThe ID of the associated return.
return_id
null | stringclaim_id
null | stringThe ID of the associated claim.
claim_id
null | stringexchange_id
null | stringThe ID of the associated exchange.
exchange_id
null | stringThe associated order
reference
stringThe reference of the order change action
reference
stringreference_id
stringThe ID of the reference
reference_id
stringaction
ChangeActionTypeThe action of the order change action
action
ChangeActionTypedetails
null | Record<string, unknown>The details of the order change action
details
null | Record<string, unknown>internal_note
null | stringThe internal note of the order change action
internal_note
null | stringcreated_at
string | DateWhen the order change action was created
created_at
string | Dateupdated_at
string | DateWhen the order change action was updated
updated_at
string | DateWas this page helpful?