Loading...
Was this page helpful?
This documentation provides a reference to the declineOrderChangeStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step declines an order change.
1import { createWorkflow } from "@medusajs/framework/workflows-sdk"2import { declineOrderChangeStep } from "@medusajs/medusa/core-flows"3 4const myWorkflow = createWorkflow(5 "my-workflow",6 () => {7 const data = declineOrderChangeStep({8 "id": "id_k8mcLTdO9eU2XmSef297"9 })10 }11)
DeclineOrderChangeDTO
DeclineOrderChangeDTOid
stringdeclined_by
stringOptionalmetadata
null | Record<string, unknown>Optional