- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
removeClaimShippingMethodValidationStep - Medusa Core Workflows Reference
This documentation provides a reference to the removeClaimShippingMethodValidationStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that a claim's shipping method can be removed. If the claim or order change is canceled, the shipping method doesn't exist in the claim, or the action is not adding a shipping method, the step will throw an error.
Example#
Input#
RemoveClaimShippingMethodValidationStepInput
RemoveClaimShippingMethodValidationStepInputThe data to validate that a claim's shipping method can be removed.
RemoveClaimShippingMethodValidationStepInput
RemoveClaimShippingMethodValidationStepInputorderClaim
OrderClaimDTOThe order claim's details.
orderClaim
OrderClaimDTOorderChange
OrderChangeDTOThe order change's details.
orderChange
OrderChangeDTOinput
Pick<DeleteClaimShippingMethodWorkflowInput, "claim_id" | "action_id">The details of removing the shipping method.
input
Pick<DeleteClaimShippingMethodWorkflowInput, "claim_id" | "action_id">Was this page helpful?