Loading...
Was this page helpful?
This documentation provides a reference to the updateReturnShippingMethodValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a return's shipping method can be updated. If the return is canceled, the order change is not active, the shipping method isn't in the return, or the action isn't adding a shipping method, the step will throw an error.
UpdateReturnShippingMethodValidationStepInput
UpdateReturnShippingMethodValidationStepInputorderChange
OrderChangeDTOorderReturn
ReturnDTOinput
Pick<UpdateReturnShippingMethodWorkflowInput, "return_id" | "action_id">