- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
confirmReceiveReturnValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the confirmReceiveReturnValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a return receival 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, return, and order change details using Query,
or useQueryGraphStep.
Example#
Input#
ConfirmReceiveReturnValidationStepInput
ConfirmReceiveReturnValidationStepInputThe data to validate that a return receival can be confirmed.
ConfirmReceiveReturnValidationStepInput
ConfirmReceiveReturnValidationStepInputorder
OrderDTOThe order's details.
order
OrderDTOorderReturn
ReturnDTOThe order return's details.
orderReturn
ReturnDTOorderChange
OrderChangeDTOThe order change's details.
orderChange
OrderChangeDTOWas this page helpful?