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

    Interface StagedOrderSetShippingMethodAction

    To set the Cart's Shipping Method, the Cart must have the Single ShippingMode and a shippingAddress.

    interface StagedOrderSetShippingMethodAction {
        action: "setShippingMethod";
        externalTaxRate?: ExternalTaxRateDraft;
        shippingMethod?: ShippingMethodResourceIdentifier;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setShippingMethod"
    externalTaxRate?: ExternalTaxRateDraft

    An external Tax Rate can be set if the Cart has the External TaxMode.

    Value to set. If empty, any existing value will be removed. If the referenced Shipping Method has a predicate that does not match the Cart, an InvalidOperation error is returned.