ReadonlyactionOptional ReadonlycustomCustom Fields for the Shipping Method.
Optional ReadonlydeliveriesDeliveries to be shipped with the referenced Shipping Method.
Optional ReadonlyexternalTax Rate used to tax a shipping expense if the Cart has the External TaxMode.
ReadonlyshippingDetermines the shipping rate and Tax Rate of the Line Items.
ReadonlyshippingUser-defined identifier for the Shipping that must be unique across the Cart with Multiple ShippingMode.
ReadonlyshippingResourceIdentifier to a ShippingMethod to add to the Cart with Multiple ShippingMode.
InvalidOperation error is returned in one of the following cases:
1. If the referenced Shipping Method has a predicate that does not match the Cart.
2. If the referenced Shipping Method is not active.
3. If the referenced Shipping Method is associated with a Store that is different from the Cart's Store.
4. If the referenced Shipping Method is associated with a Store and the Cart is not associated with any Store.
Optional ReadonlyshippingInput used to select a ShippingRatePriceTier.
The data type of this field depends on the shippingRateInputType.type configured in the Project:
- If `CartClassification`, it must be [ClassificationShippingRateInputDraft](ctp:api:type:ClassificationShippingRateInputDraft).
- If `CartScore`, it must be [ScoreShippingRateInputDraft](ctp:api:type:ScoreShippingRateInputDraft).
- If `CartValue`, it cannot be set.
Adds a Shipping Method for a specified shipping address to a Cart with
MultipleShippingMode.