- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
declineOrderChangeWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the declineOrderChangeWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow declines an order change.
You can use this workflow within your customizations or your own custom workflows, allowing you to wrap custom logic around declining an order change.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
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?