- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
removeReturnShippingMethodValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the removeReturnShippingMethodValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a shipping method can be removed from a return. If the return is canceled, the order change is not active, the shipping method isn't in the return, or the action doesn't add a shipping method, the step will throw an error.
Example#
Input#
RemoveReturnShippingMethodValidationStepInput
RemoveReturnShippingMethodValidationStepInputThe data to validate that a shipping method can be removed from a return.
RemoveReturnShippingMethodValidationStepInput
RemoveReturnShippingMethodValidationStepInputorderChange
OrderChangeDTOThe order change's details.
orderChange
OrderChangeDTOorderReturn
ReturnDTOThe return's details.
orderReturn
ReturnDTOinput
Pick<DeleteReturnShippingMethodWorkflowInput, "return_id" | "action_id">The details of the shipping method to be removed.
input
Pick<DeleteReturnShippingMethodWorkflowInput, "return_id" | "action_id">Was this page helpful?