Loading...
Was this page helpful?
This documentation provides a reference to the cancelReturnWorkflow. It belongs to the @medusajs/medusa/core-flows package.
This workflow cancels a return. It's used by the Cancel Return Admin API Route.
You can use this workflow within your customizations or your own custom workflows, allowing you to cancel a return in your custom flow.
Source CodeWorkflow hook
Step conditioned by when
View step details
CancelReturnWorkflowInputCancelReturnWorkflowInputreturn_idstringno_notificationbooleanOptionalcanceled_bystringOptional