- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
cancelReturnValidateOrder - Medusa Core Workflows Reference
This documentation provides a reference to the cancelReturnValidateOrder
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a return can be canceled. If the return is canceled, its fulfillment aren't canceled, or it has received items, the step will throw an error.
Example#
Input#
CancelReturnValidateOrderInput
CancelReturnValidateOrderInputThe data to validate that a return can be canceled.
CancelReturnValidateOrderInput
CancelReturnValidateOrderInputorderReturn
ReturnDTOThe order return's details.
orderReturn
ReturnDTOThe data to cancel a return.
Was this page helpful?