- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
declineOrderTransferRequestWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the declineOrderTransferRequestWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow declines a requested order transfer by its token. It's used by the Decline Order Transfer Store API Route.
You can use this workflow within your customizations or your own custom workflows, allowing you to wrap custom logic around declining an order transfer request.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
DeclineTransferOrderRequestWorkflowInput
DeclineTransferOrderRequestWorkflowInput
DeclineTransferOrderRequestWorkflowInput
DeclineTransferOrderRequestWorkflowInputorder_id
stringThe ID of the order to decline the transfer for.
order_id
stringtoken
stringThe token of the order transfer request.
token
stringWas this page helpful?