- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateReturnValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the updateReturnValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a return can be updated. If the return is canceled or the order change is not active, the step will throw an error.
Example#
Input#
UpdateReturnValidationStepInput
UpdateReturnValidationStepInputThe data to validate that a return can be updated.
UpdateReturnValidationStepInput
UpdateReturnValidationStepInputorderChange
OrderChangeDTOThe order change's details.
orderChange
OrderChangeDTOorderReturn
ReturnDTOThe return's details.
orderReturn
ReturnDTOWas this page helpful?