- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
cancelReturnReceiveWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the cancelReturnReceiveWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow cancels a return receival. It's used by the Cancel Return Receival Admin API Route.
You can use this workflow within your customizations or your own custom workflows, allowing you to cancel a return receival in your custom flow.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
CancelReturnReceiveWorkflowInput
CancelReturnReceiveWorkflowInputThe data to cancel a return receival.
CancelReturnReceiveWorkflowInput
CancelReturnReceiveWorkflowInputreturn_id
stringThe ID of the return to cancel the receival for.
return_id
stringWas this page helpful?