- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createRefundReasonsWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the createRefundReasonsWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow creates one or more refund reasons. It's used by the Create Refund Reason Admin API Route.
You can use this workflow within your own customizations or custom workflows, allowing you to create refund reasons in your custom flows.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
CreateRefundReasonsWorkflowInput
CreateRefundReasonsWorkflowInputThe data to create refund reasons.
CreateRefundReasonsWorkflowInput
CreateRefundReasonsWorkflowInputdata
CreateRefundReasonDTO[]The refund reasons to create.
data
CreateRefundReasonDTO[]Output#
RefundReasonDTO[]
RefundReasonDTO[]
RefundReasonDTO[]
RefundReasonDTO[]RefundReasonDTO
RefundReasonDTO
RefundReasonDTO
RefundReasonDTOWas this page helpful?