interface CartSetLineItemCustomFieldAction {
    action: "setLineItemCustomField";
    lineItemId: string;
    name: string;
    value?: any;
}

Properties

action: "setLineItemCustomField"
lineItemId: string

id of the LineItem to update.

name: string

Name of the Custom Field.

value?: any

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

Generated using TypeDoc