interface CartSetShippingCustomFieldAction {
    action: "setShippingCustomField";
    name: string;
    shippingKey?: string;
    value?: any;
}

Properties

action: "setShippingCustomField"
name: string

Name of the Custom Field.

shippingKey?: string

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

value?: any

If value is absent or null, this field will be removed if it exists. Trying to remove a field that does not exist will fail with an InvalidOperation error. If value is provided, it is set for the field defined by name.

Generated using TypeDoc