- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
confirmReturnRequestValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the confirmReturnRequestValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a return request can be confirmed. If the order or return is canceled or the order change is not active, the step will throw an error.
Note: You can retrieve an order, order change, and return details using Query,
or useQueryGraphStep.
Example#
Input#
ConfirmReturnRequestValidationStepInput
ConfirmReturnRequestValidationStepInputThe data to validate that a return request can be confirmed.
ConfirmReturnRequestValidationStepInput
ConfirmReturnRequestValidationStepInputorder
OrderDTOThe order's details.
order
OrderDTOorderReturn
ReturnDTOThe order return's details.
orderReturn
ReturnDTOorderChange
OrderChangeDTOThe order change's details.
orderChange
OrderChangeDTOWas this page helpful?