Interface ShoppingListSetLineItemCustomTypeAction

interface ShoppingListSetLineItemCustomTypeAction {
    action: "setLineItemCustomType";
    fields?: FieldContainer;
    lineItemId?: string;
    lineItemKey?: string;
    type?: TypeResourceIdentifier;
}

Properties

action: "setLineItemCustomType"

Sets the Custom Fields fields for the ShoppingListLineItem.

lineItemId?: string

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

lineItemKey?: string

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

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