interface CartSetCustomLineItemCustomTypeAction {
    action: "setCustomLineItemCustomType";
    customLineItemId?: string;
    customLineItemKey?: string;
    fields?: FieldContainer;
    type?: TypeResourceIdentifier;
}

Properties

action: "setCustomLineItemCustomType"
customLineItemId?: string

id of the CustomLineItem to update. Either customLineItemId or customLineItemKey is required.

customLineItemKey?: string

key of the CustomLineItem to update. Either customLineItemId or customLineItemKey is required.

Sets the Custom Fields fields for the CustomLineItem.

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