Interface MyShoppingListSetTextLineItemCustomFieldAction

interface MyShoppingListSetTextLineItemCustomFieldAction {
    action: "setTextLineItemCustomField";
    name: string;
    textLineItemId?: string;
    textLineItemKey?: string;
    value?: any;
}

Properties

action: "setTextLineItemCustomField"
name: string

Name of the Custom Field.

textLineItemId?: string

The id of the TextLineItem to update. Either lineItemId or lineItemKey is required.

textLineItemKey?: string

The key of the TextLineItem to update. Either lineItemId or lineItemKey is required.

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.