updateOrderChangeActionsStep - Medusa Core Workflows Reference
This documentation provides a reference to the updateOrderChangeActionsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step updates order change actions.
1import { createWorkflow } from "@medusajs/framework/workflows-sdk"2import { updateOrderChangeActionsStep } from "@medusajs/medusa/core-flows"3 4const myWorkflow = createWorkflow(5 "my-workflow",6 () => {7 const data = updateOrderChangeActionsStep({8 "id": "id_cRNgMSYPLjY"9 })10 }11)
Input#
UpdateOrderChangeActionsStepInput
UpdateOrderChangeActionsStepInputThe order change actions to update.
UpdateOrderChangeActionsStepInput
UpdateOrderChangeActionsStepInputid
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?