- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
cancelOrderFulfillmentStep - Medusa Core Workflows Reference
This documentation provides a reference to the cancelOrderFulfillmentStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step cancels an order's fulfillment.
Example#
Input#
CancelOrderFulfillmentDTO
CancelOrderFulfillmentDTOThe details to cancel a fulfillment of an order, return,
exchange, or claim.
CancelOrderFulfillmentDTO
CancelOrderFulfillmentDTOorder_id
stringThe associated order's ID.
order_id
stringThe items whose fulfillment is canceled.
return_id
stringOptionalThe associated return's ID.
return_id
stringOptionalclaim_id
stringOptionalThe associated claim's ID.
claim_id
stringOptionalexchange_id
stringOptionalThe associated exchange's ID.
exchange_id
stringOptionaldescription
stringOptionalThe description of the action.
description
stringOptionalinternal_note
stringOptionalThe internal note of the action.
internal_note
stringOptionalreference
stringOptionalThe name of the data model the action
references. For example, return
.
reference
stringOptionalreturn
.reference_id
stringOptionalThe ID of the record of the data model
specified in reference.
For example, if reference
is return
, the
value is return_123
.
reference_id
stringOptionalreference
is return
, the
value is return_123
.created_by
null | stringOptionalThe user or customer that created this action.
created_by
null | stringOptionalmetadata
null | Record<string, unknown>OptionalHolds custom data in key-value pairs.
metadata
null | Record<string, unknown>OptionalWas this page helpful?