- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
beginReturnOrderValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the beginReturnOrderValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a return can be created for an order. If the order is canceled, the step will throw an error.
Example#
Input#
BeginReturnOrderValidationStepInput
BeginReturnOrderValidationStepInputThe data to validate that a return can be created for an order.
BeginReturnOrderValidationStepInput
BeginReturnOrderValidationStepInputorder
OrderDTOThe order's details.
order
OrderDTOWas this page helpful?