@gradientedge/commercetools-utils
    Preparing search index...

    Interface StagedOrderSetShippingRateInputAction

    Input used to select a ShippingRatePriceTier. If no matching tier can be found, or the input is not set, the default price for the shipping rate is used.

    interface StagedOrderSetShippingRateInputAction {
        action: "setShippingRateInput";
        shippingRateInput?: ShippingRateInputDraft;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setShippingRateInput"
    shippingRateInput?: ShippingRateInputDraft

    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.