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.
Note: You can retrieve an order claim and order change details using Query,
or useQueryGraphStep.
1const data =updateClaimShippingMethodValidationStep({2 orderChange:{3 id:"orch_123",4// other order change details...5},6 orderClaim:{7 id:"claim_123",8// other order claim details...9},10 input:{11 claim_id:"claim_123",12 action_id:"orchact_123",13}14})