- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
declineOrderChangeStep - Medusa Core Workflows Reference
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_IUQ9CrKl8YbwfG"9 })10 }11)
Input#
DeclineOrderChangeDTO
DeclineOrderChangeDTOThe details of declining the order change.
DeclineOrderChangeDTO
DeclineOrderChangeDTOid
stringThe ID of the order change.
id
stringdeclined_by
stringOptionalThe user or customer who declined the order change.
declined_by
stringOptionalmetadata
null | Record<string, unknown>OptionalHolds custom data in key-value pairs.
metadata
null | Record<string, unknown>OptionalWas this page helpful?