- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
deleteRefundReasonsWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the deleteRefundReasonsWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow deletes one or more refund reasons. It's used by the Delete Refund Reason Admin API Route.
You can use this workflow within your own customizations or custom workflows, allowing you to delete refund reasons in your custom flows.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
DeleteRefundReasonsWorkflowInput
DeleteRefundReasonsWorkflowInputThe data to delete refund reasons.
DeleteRefundReasonsWorkflowInput
DeleteRefundReasonsWorkflowInputids
string[]The refund reasons to delete.
ids
string[]Was this page helpful?