- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
deleteOrderChangesStep - Medusa Core Workflows Reference
This documentation provides a reference to the deleteOrderChangesStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step deletes order changes.
1import { createWorkflow } from "@medusajs/framework/workflows-sdk"2import { deleteOrderChangesStep } from "@medusajs/medusa/core-flows"3 4const myWorkflow = createWorkflow(5 "my-workflow",6 () => {7 const data = deleteOrderChangesStep({8 "ids": [9 "id_RPPmsZYtsX735FgoMekx"10 ]11 })12 }13)
Input#
DeleteOrderChangesStepInput
DeleteOrderChangesStepInputThe details of deleting order changes.
DeleteOrderChangesStepInput
DeleteOrderChangesStepInputids
string[]The IDs of the order changes to delete.
ids
string[]Output#
((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)
((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)
((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)
((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)
((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)
((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)
((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)Was this page helpful?