Loading...
Was this page helpful?
This documentation provides a reference to the createCompleteReturnValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a return can be created and completed for an order. If the order is canceled, the items do not exist in the order, the return reasons are invalid, or the refund amount is greater than the order total, the step will throw an error.
CreateCompleteReturnValidationStepInput
CreateCompleteReturnValidationStepInputorder
any