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