Add Items To A Shopping List
Last updated
Last updated
POST
/v1/:id/items
ATTRIBUTE
TYPE
DESCRIPTION
name
string
Shopping List name
language
string
Language can be provided explicitly which will impact analysis on shopping list items. Default: en
recipes
array [ShoppingListRecipePayload]
references to recipes to add to a shopping list
rawItems
array [string]
Ids of recipes. The cart will be generated based on recipe ingredients. The id can be represented by GraphID or recipe URL
items
array [ShoppingListItemPayload]
list of normalised items to add
ATTRIBUTE
TYPE
DESCRIPTION
id*
string
GraphId or URL of a Recipe
scale
float
Multiplier for default amounts in recipe: 0.5, 2 ...
ATTRIBUTE
TYPE
DESCRIPTION
quantity
double
Item quantity
unit
string
Item unit (e.g. gram, ml)
name*
string
Item name (e.g. potato)
comment
string
ATTRIBUTE
TYPE
DESCRIPTION
id*
string
name*
string
primary
boolean
createdTime*
datetime
The time the Shopping List was created.
updatedTime*
datetime
items
array [ShoppingListItemElement]
ATTRIBUTE
TYPE
DESCRIPTION
quantity
double
Item quantity
unit
string
Item unit (e.g. gram, ml)
name*
string
Item name (e.g. potato)
comment
string
brand
string
analysis
SLItemAnalysis
recipe
string
recipeOrdering
integer
createdTime
datetime
combined
array