Loading...
Was this page helpful?
This documentation provides a reference to the deleteExchangesStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step deletes one or more exchanges.
1import { createWorkflow } from "@medusajs/framework/workflows-sdk"2import { deleteExchangesStep } from "@medusajs/medusa/core-flows"3 4const myWorkflow = createWorkflow(5 "my-workflow",6 () => {7 const data = deleteExchangesStep({8 "ids": [9 "id_Wj8GE3B2klHEP7fU"10 ]11 })12 }13)
DeleteOrderExchangesInput
DeleteOrderExchangesInputids
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[]>)