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

    Interface OrderSetShippingCustomTypeAction

    This action sets, overwrites, or removes any existing Custom Type and Custom Fields for the Order's shippingMethod or shipping.

    interface OrderSetShippingCustomTypeAction {
        action: "setShippingCustomType";
        fields?: FieldContainer;
        shippingKey?: string;
        type?: TypeResourceIdentifier;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setShippingCustomType"

    Sets the Custom Fields fields for the shippingMethod.

    shippingKey?: string

    The shippingKey of the Shipping to customize. Used to specify which Shipping Method to customize on a Order with Multiple ShippingMode. Leave this empty to customize the one and only ShippingMethod on a Single ShippingMode Order.

    Defines the Type that extends the specified ShippingMethod with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ShippingMethod.