interface ShoppingListDraft {
    anonymousId?: string;
    custom?: CustomFieldsDraft;
    customer?: CustomerResourceIdentifier;
    deleteDaysAfterLastModification?: number;
    description?: LocalizedString;
    key?: string;
    lineItems?: ShoppingListLineItemDraft[];
    name: LocalizedString;
    slug?: LocalizedString;
    store?: StoreResourceIdentifier;
    textLineItems?: TextLineItemDraft[];
}

Properties

anonymousId?: string

Identifies ShoppingLists belonging to an anonymous session.

Custom Fields defined for the ShoppingList.

The Customer the ShoppingList should be associated to.

deleteDaysAfterLastModification?: number

Number of days after which the ShoppingList will be automatically deleted if it has not been modified. If not set, the default value configured in the Project is used.

description?: LocalizedString

Description of the ShoppingList.

key?: string

User-defined unique identifier for the ShoppingList.

Line Items (containing Products) to add to the ShoppingList.

Name of the ShoppingList.

Human-readable identifiers usually used as deep-link URL to the related ShoppingList. Each slug is unique across a Project, but a ShoppingList can have the same slug for different languages. The slug must match the pattern [a-zA-Z0-9_-]{2,256}.

Assigns the new ShoppingList to the Store.

textLineItems?: TextLineItemDraft[]

Line Items (containing text values) to add to the ShoppingList.

Generated using TypeDoc