Developer API

Build with The Saucery

Put the shopping list, the week's dinners and the recipe book into whatever else you run. Create an API key in The Saucery, then use the endpoints below. The developer API comes with Saucery Pass.

Quick start

Three steps

  1. Create an API key

    In The Saucery, open Settings → API Keys. A family admin creates it, and the family needs Saucery Pass.

  2. Keep it secret

    The key is shown once. Anyone holding it can read your list, plan and recipes and change the list, so revoke it in the app if it leaks.

  3. Make requests

    Pass the key as a Bearer token. The reference below lists every endpoint.

Reference

The developer API for The Saucery reads and writes a family's shopping list, and reads its meal plan and recipe book.

Authentication

Every request needs a Bearer token. A family admin creates a key in the app under Settings → API Keys. The developer API is part of Saucery Pass: a key belonging to a family without it gets the 403 below, and works again as soon as the family subscribes.

Authorization: Bearer sc_key_xxxxxxxxxxxxxxxx

Scopes

A key made in the app carries every scope. A key made before recipes:read existed doesn't have it, so make a new key to read recipes.

Scope What it allows
shopping-list:read Read the shopping list and its items
shopping-list:write Add, change, tick off and remove shopping list items
meal-plan:read Read the meal plan, a week at a time
recipes:read Read the recipe book, with ingredients and steps

Errors

An error is JSON with a message to show a person. The ones an integration acts on also carry an error key to branch on.

Status error Means
401 unauthorized The key is missing, wrong, revoked or expired.
403 subscription_required The family doesn't have Saucery Pass.
403 insufficient_scope The key doesn't carry the scope this endpoint needs.
404 Nothing with that id, or not in this family's book.
422 A field failed validation; errors says which.
429 too_many_requests Too many requests. Wait the number of seconds in Retry-After.

Rate limits

120 requests a minute for each key, and 300 a minute from one IP address. Every response carries X-RateLimit-Limit and X-RateLimit-Remaining.

The endpoints

10 endpoints

Every endpoint in the The Saucery developer API
Method Endpoint
GET /meal-plan Get the meal plan for a week
GET /recipes List the family's recipes
GET /recipes/{recipe} Get a recipe, with its ingredients and steps
GET /shopping-list Get the current shopping list
GET /shopping-list/items/{item} Get a single shopping list item
PUT /shopping-list/items/{item} Change a shopping list item
DELETE /shopping-list/items/{item} Remove an item from the shopping list
POST /shopping-list/items Add an item to the shopping list
POST /shopping-list/items/batch Add several items to the shopping list
POST /shopping-list/items/{item}/check Tick an item off, or untick it

Base URL https://thesaucery.nz/api/v1. Version 1.0.0.

Download the OpenAPI document

Meal plan

GET /meal-plan

Get the meal plan for a week

This week by default. Pass week_start as any date (YYYY-MM-DD) to get the week that contains it: weeks start on the day the family chose, so any day of a week returns that week.

Parameters

Parameters for Get the meal plan for a week
Field Type
week_start Any date in the week you want, as YYYY-MM-DD. Leave it out for this week. string

Example request

curl -X GET https://thesaucery.nz/api/v1/meal-plan \
  -H "Authorization: Bearer sc_key_..."

Response 200 · OK

Response body for Get the meal plan for a week
Field Type
data object
data.id string
data.family_id any
data.week_start_date string
data.entries object[]optional
data.entries[].id string
data.entries[].date string
data.entries[].meal_type string
data.entries[].recipe objectoptional
data.entries[].recipe.id string
data.entries[].recipe.family_id any
data.entries[].recipe.web_url string
data.entries[].recipe.title string
data.entries[].recipe.description string or null
data.entries[].recipe.cuisine string or null
data.entries[].recipe.tags any
data.entries[].recipe.source_type string
data.entries[].recipe.source_url string or null
data.entries[].recipe.source_name string or null
data.entries[].recipe.prep_time_minutes integer or null
data.entries[].recipe.cook_time_minutes integer or null
data.entries[].recipe.total_time_minutes integer or null
data.entries[].recipe.servings integer
data.entries[].recipe.photos string[]
data.entries[].recipe.is_stylizing_hero boolean
data.entries[].recipe.sketch_url string or null
data.entries[].recipe.is_sketching boolean
data.entries[].recipe.notes string or null
data.entries[].recipe.image_prompt string or null
data.entries[].recipe.visibility string
data.entries[].recipe.is_favourite boolean
data.entries[].recipe.needs_review boolean
data.entries[].recipe.ingredients object[]optional
data.entries[].recipe.steps object[]optional
data.entries[].recipe.last_cooked_at stringoptional
data.entries[].recipe.times_cooked integeroptional
data.entries[].recipe.comments object[]optional
data.entries[].recipe.created_by objectoptional
data.entries[].recipe.lab_items string
data.entries[].recipe.created_at string or null
data.entries[].recipe.updated_at string or null
data.entries[].recipe.is_starter True for one of the sample recipes every new family's book starts with, which the family did not add. Always present. boolean
data.entries[].recipe.byline Where the recipe came from when it is not the family's own, ready to show under the title, e.g. "From The Saucery". Null for the family's own recipes. string or null
data.entries[].recipe.scales True when a planned meal of this recipe is cooked for the household and starts at the family's default servings. False for a batch, such as a cake or a loaf, which is planned at the recipe's own servings. Always present. boolean
data.entries[].recipe.shared_by_name The name of the person who sent the link this recipe was saved from, e.g. "Grace". Null for a recipe that was not saved from a share link. Separate from source_name, which says where the recipe originally came from. string or null
data.entries[].recipe.added_byline Who in the family added the recipe, ready to show under the title: "Added by you" to the person who added it, "Added by Hemi" to anyone else, with " from Grace’s link" on the end when it was saved from a share link. Null for a sample recipe, which has byline instead. string or null
data.entries[].recipe.cost What the recipe costs to cook at the family's store, for what goes in the pot rather than the packs it comes in: a teaspoon of salt costs a teaspoon's worth. Null when the family's plan does not include grocery prices, or it has not chosen a store. `line_count` is the ingredient lines with an amount, `priced_count` how many of those have a price, and `coverage` the share priced, 0 to 1. `unquantified_count` is the lines with no amount, such as "salt to taste", which are in neither the total nor the coverage. `total` and `per_serving` (the total over the recipe's servings, null when it has none) are NZD to the cent, and are null unless `is_complete`, which is true once at least 80% of the lines with an amount are priced, so a client can say "7 of 11 priced" instead of a total that is short. object or nulloptional
data.entries[].recipe.is_draft True for a draft: a recipe the assistant wrote for the signed-in person that is not in the family's book yet, and that only they can see. Keep it with POST /api/recipes/{recipe}/keep, or discard it with DELETE /api/recipes/{recipe}. Always present. boolean
data.entries[].recipe.draft_expires_at When an unkept draft is discarded, as an ISO-8601 timestamp. Null for a recipe that is kept. string
data.entries[].recipe.chapter The cookbook chapter the recipe sits in, as a slug: breakfast, mains, sides, snacks, baking, desserts, basics or drinks. GET /api/recipes/chapters lists them in order with their names. Null for a recipe not filed yet, which happens shortly after it is saved. Set it with POST or PUT /api/recipes; null hands it back to be filed again. string or null
data.entries[].recipe.chapter_chosen_by_user True when a person chose the chapter, rather than it being filed automatically. A chosen chapter is never changed by anything automatic. Always present. boolean
data.entries[].recipe.grocery_specials object[] or null
data.entries[].recipe_id string
data.entries[].recipe_link_source 'user' if someone picked the recipe, 'auto' if we inferred it from the label they typed. Clients can use it to offer an "not this one?" escape hatch on a link they didn't ask for; the label stays the display string either way. string or null
data.entries[].label string or null
data.entries[].generating True while Whisp is writing this night's recipe, after a new idea from Fill my week: the night has its title in `label` and no recipe yet. The recipe is attached to this same entry and `mealplan.updated` is broadcast when it lands, or when writing fails, which leaves the title with no recipe and this false. boolean
data.entries[].servings integer or null
data.entries[].postponed_from_entry_id Kept for clients shipped before the day a postponed meal left was freed. Always null now — read postponed_from_date. string or null
data.entries[].postponed_from_date The day this meal was first planned on, if it was postponed from there. Later moves keep it, and it clears when the meal goes back to that day or a different meal takes its place. Its ingredients were bought for the original week, so it is deliberately absent from this week's shopping list. string
data.entries[].leftovers_from_entry_id The dinner this lunch is the leftovers of, by entry id, or null. The lunch has the dinner's recipe, and adds nothing to the shopping list: the dinner is bought for both. It moves to the day after the dinner when the dinner moves, and goes when the dinner is taken off the plan or loses its recipe. string or null
data.entries[].leftovers_from_date The day of that dinner, or null. string or null
data.entries[].ingredients_already_purchased boolean
data.entries[].cooked_at string
data.entries[].cook Who is cooking this meal, or null when nobody has been named. It moves with the meal: a move, swap or postpone takes it along, and a different meal on the same night keeps it. Set it with PUT /meal-plan/entry/{id}/cook. `user_id` is the member's user id (equal to `id`) when the cook is in the family, or null for someone without the app, whose `id` is one of the family's `cooks`. `pending` is true while that person is invited and has not joined. any
data.entries[].cook_user_id The cook's user id (the same id as the family's members), or null, including when the cook is someone without the app. string or null
data.created_at string or null
data.updated_at string or null

Other responses

Other responses for Get the meal plan for a week
Status Meaning
422 Validation error

Recipe

GET /recipes

List the family's recipes

Newest first, 20 to a page (per_page up to 50). Each recipe comes without its ingredients and steps; get one recipe for those.

Parameters

Parameters for List the family's recipes
Field Type
search Matches the title, description, cuisine or an ingredient. string
sort `alpha` for A to Z by title; newest first otherwise. enum
cuisine The cuisine, e.g. Thai. Not case-sensitive. string
favourites Only the family's favourites. enum
tags Comma-separated. A recipe must carry every one. string
ingredients Comma-separated. A recipe must use every one. string
max_time Prep and cook time together, in minutes, at most. integer
chapter The cookbook chapter: breakfast, mains, sides, snacks, baking, desserts, basics or drinks. enum
time `quick` for 30 minutes or less in all, `hour` for an hour or less, `slow` for two hours or more or slow-cooked. A recipe with no time recorded is in none of them. enum
per_page Recipes to a page, 20 if left out, 50 at most. integer
page Which page, from 1. integer

Example request

curl -X GET https://thesaucery.nz/api/v1/recipes \
  -H "Authorization: Bearer sc_key_..."

Response 200 · Paginated set of `App.Http.Resources.ExternalApi.RecipeResource`

Response body for List the family's recipes
Field Type
data any[]
links object
links.first string or null
links.last string or null
links.prev string or null
links.next string or null
meta object
meta.current_page integer
meta.from integer or null
meta.last_page integer
meta.links object[]
meta.links[].url string or null
meta.links[].label string
meta.links[].active boolean
meta.path string or null
meta.per_page integer
meta.to integer or null
meta.total integer

Other responses

Other responses for List the family's recipes
Status Meaning
422 Validation error

GET /recipes/{recipe}

Get a recipe, with its ingredients and steps

Parameters

Parameters for Get a recipe, with its ingredients and steps
Field Type
recipe The recipe UUID stringrequired

Example request

curl -X GET https://thesaucery.nz/api/v1/recipes/{recipe} \
  -H "Authorization: Bearer sc_key_..."

Response 200 · `App.Http.Resources.ExternalApi.RecipeResource`

Response body for Get a recipe, with its ingredients and steps
Field Type
data any

Other responses

Other responses for Get a recipe, with its ingredients and steps
Status Meaning
404 Not found

Shopping list

GET /shopping-list

Get the current shopping list

Example request

curl -X GET https://thesaucery.nz/api/v1/shopping-list \
  -H "Authorization: Bearer sc_key_..."

Response 200 · OK

Response body for Get the current shopping list
Field Type
data object
data.id string
data.family_id any
data.week_start_date string
data.items object[]optional
data.items[].id string
data.items[].name string
data.items[].quantity What to buy: a count is whole and a weight or volume is rounded up to what a shelf sells. A line the family typed in is returned as typed. string
data.items[].unit string
data.items[].display_quantity The amount as it reads before the name, in the unit it is bought in: "2.1 l", "5 tbsp", or "about 5" for a weight of something bought by the piece. Null when the line has no amount. string
data.items[].quantity_note A second line about the amount, or null: the weight behind an "about" count ("540 g altogether"), or "You probably have this in the pantry" when probably_at_home is true. string
data.items[].probably_at_home True for a spoonful of something from the pantry aisles, or a splash of oil or sauce, that most kitchens already have, unless someone said they need it. The line stays on the list. string
data.items[].check_at_home True while the line waits under "Check at home": probably_at_home, and not ticked. Such a line is left out of price_summary's totals and counts until someone ticks it or says they need it (POST /shopping-list/items/{item}/need), when it joins its group and the totals. boolean
data.items[].is_needed True once someone said they need a line that was probably at home. It is then an ordinary line: probably_at_home is false and quantity_note says nothing about the pantry. boolean
data.items[].packs How many packs the family chose to buy for the line, or null for the count worked out from its amount. Set and cleared with PUT /shopping-list/items/{item}. Kept when the list is rebuilt or a recipe adds to the line, and cleared when the family chooses or forgets a product for the name. integer or null
data.items[].group string or null
data.items[].is_checked boolean
data.items[].checked_by string
data.items[].checked_by_name The name of the family member who ticked the line, or null when it is not ticked or the tick predates the record. string or null
data.items[].checked_at When the line was ticked, ISO 8601, or null. string or null
data.items[].added_by Who put the line on the list, {id, name}: the person who typed it, asked the assistant for it, or added the plan, recipe or staples it came from. Null for lines added before this was recorded and for lines added through an integration key. object or null
data.items[].added_by.id string
data.items[].added_by.name string
data.items[].recipe_id string
data.items[].staple_id string
data.items[].is_manual boolean
data.items[].is_skipped boolean
data.items[].source_type enum
data.items[].recipe_names objectoptional
data.items[].contributions Per-recipe prep sub-lines, e.g. {recipe_name: "Roast Chicken Dinner", detail: "sliced, raw", date: "2026-10-12"}. Lets clients render the base name as the row with each recipe's specifics underneath. date is the night the recipe is planned for (Y-m-d), the earliest when the week has it twice, and null for a recipe added from its own page. API: share is that recipe's own part of the line, for a list narrowed to one meal: {quantity, unit, display_quantity, quantity_note, probably_at_home, price}, read as the line's fields of the same names are, with price the share priced on its own (present when the line's price is; a pack count the family chose stays theirs). Null when one recipe needs the line, so the line is its share, or when the recipe's amount is not known: show the line's own fields then. object[]optional
data.items[].contributions[].recipe_id string
data.items[].contributions[].recipe_name string
data.items[].contributions[].detail string
data.items[].contributions[].date string or null
data.items[].contributions[].share object or null
data.items[].is_on_special boolean
data.items[].price string or null
data.aisles The aisles in the order a shop walks them, produce first and frozen last. Group the items by group and show the groups in this order; a group not in it comes just before Other. any[]
data.checked_count integeroptional
data.total_count integeroptional
data.meals The meals the list is buying for, one per recipe and the night it is planned for, ordered by night then recipe name; a recipe added from its own page comes last with date null. Each is {key, date, recipe_id, recipe_name, cook, item_ids, checked_count, item_count}. key is stable for the (recipe, night) pair, cook is the planned meal's cook ({id, name, user_id, pending}, as on a meal plan entry) or null, and item_ids are the ids of its lines in items. A line two meals share is in both. Present when items are. objectoptional
data.created_at string or null
data.updated_at string or null
data.price_summary object or null
data.price_summary.estimated_total number
data.price_summary.currency string
data.price_summary.priced_count integer
data.price_summary.item_count integer
data.price_summary.remaining_total number
data.price_summary.remaining_count integer
data.price_summary.remaining_item_count string
data.price_summary.checked_total number
data.price_summary.checked_count integer
data.price_summary.check_at_home_total number
data.price_summary.check_at_home_count integer

GET /shopping-list/items/{item}

Get a single shopping list item

Parameters

Parameters for Get a single shopping list item
Field Type
item The item UUID stringrequired

Example request

curl -X GET https://thesaucery.nz/api/v1/shopping-list/items/{item} \
  -H "Authorization: Bearer sc_key_..."

Response 200 · OK

Response body for Get a single shopping list item
Field Type
data object
data.id string
data.name string
data.quantity What to buy: a count is whole and a weight or volume is rounded up to what a shelf sells. A line the family typed in is returned as typed. string
data.unit string
data.display_quantity The amount as it reads before the name, in the unit it is bought in: "2.1 l", "5 tbsp", or "about 5" for a weight of something bought by the piece. Null when the line has no amount. string
data.quantity_note A second line about the amount, or null: the weight behind an "about" count ("540 g altogether"), or "You probably have this in the pantry" when probably_at_home is true. string
data.probably_at_home True for a spoonful of something from the pantry aisles, or a splash of oil or sauce, that most kitchens already have, unless someone said they need it. The line stays on the list. string
data.check_at_home True while the line waits under "Check at home": probably_at_home, and not ticked. Such a line is left out of price_summary's totals and counts until someone ticks it or says they need it (POST /shopping-list/items/{item}/need), when it joins its group and the totals. boolean
data.is_needed True once someone said they need a line that was probably at home. It is then an ordinary line: probably_at_home is false and quantity_note says nothing about the pantry. boolean
data.packs How many packs the family chose to buy for the line, or null for the count worked out from its amount. Set and cleared with PUT /shopping-list/items/{item}. Kept when the list is rebuilt or a recipe adds to the line, and cleared when the family chooses or forgets a product for the name. integer or null
data.group string or null
data.is_checked boolean
data.checked_by string
data.checked_by_name The name of the family member who ticked the line, or null when it is not ticked or the tick predates the record. string or null
data.checked_at When the line was ticked, ISO 8601, or null. string or null
data.added_by Who put the line on the list, {id, name}: the person who typed it, asked the assistant for it, or added the plan, recipe or staples it came from. Null for lines added before this was recorded and for lines added through an integration key. object or null
data.added_by.id string
data.added_by.name string
data.recipe_id string
data.staple_id string
data.is_manual boolean
data.is_skipped boolean
data.source_type enum
data.recipe_names objectoptional
data.contributions Per-recipe prep sub-lines, e.g. {recipe_name: "Roast Chicken Dinner", detail: "sliced, raw", date: "2026-10-12"}. Lets clients render the base name as the row with each recipe's specifics underneath. date is the night the recipe is planned for (Y-m-d), the earliest when the week has it twice, and null for a recipe added from its own page. API: share is that recipe's own part of the line, for a list narrowed to one meal: {quantity, unit, display_quantity, quantity_note, probably_at_home, price}, read as the line's fields of the same names are, with price the share priced on its own (present when the line's price is; a pack count the family chose stays theirs). Null when one recipe needs the line, so the line is its share, or when the recipe's amount is not known: show the line's own fields then. object[]optional
data.contributions[].recipe_id string
data.contributions[].recipe_name string
data.contributions[].detail string
data.contributions[].date string or null
data.contributions[].share object or null
data.contributions[].share.quantity string
data.contributions[].share.unit string
data.contributions[].share.display_quantity string
data.contributions[].share.quantity_note string
data.contributions[].share.probably_at_home string
data.contributions[].share.price string or null
data.is_on_special boolean
data.price string or null

Other responses

Other responses for Get a single shopping list item
Status Meaning
403 Forbidden
404 Not found

PUT /shopping-list/items/{item}

Change a shopping list item

Send only the fields to change. packs works on any line. quantity, unit and group can only be changed on a line someone added by hand: a line that came from the meal plan takes its amount from the recipes, so set packs on it instead.

Parameters

Parameters for Change a shopping list item
Field Type
item The item UUID stringrequired

Request body (optional)

Request body for Change a shopping list item
Field Type
name string
quantity number or null
unit string or null
group enum
packs integer or null

Example request

curl -X PUT https://thesaucery.nz/api/v1/shopping-list/items/{item} \
  -H "Authorization: Bearer sc_key_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Response 200 · OK

Response body for Change a shopping list item
Field Type
data object
data.id string
data.name string
data.quantity What to buy: a count is whole and a weight or volume is rounded up to what a shelf sells. A line the family typed in is returned as typed. string
data.unit string
data.display_quantity The amount as it reads before the name, in the unit it is bought in: "2.1 l", "5 tbsp", or "about 5" for a weight of something bought by the piece. Null when the line has no amount. string
data.quantity_note A second line about the amount, or null: the weight behind an "about" count ("540 g altogether"), or "You probably have this in the pantry" when probably_at_home is true. string
data.probably_at_home True for a spoonful of something from the pantry aisles, or a splash of oil or sauce, that most kitchens already have, unless someone said they need it. The line stays on the list. string
data.check_at_home True while the line waits under "Check at home": probably_at_home, and not ticked. Such a line is left out of price_summary's totals and counts until someone ticks it or says they need it (POST /shopping-list/items/{item}/need), when it joins its group and the totals. boolean
data.is_needed True once someone said they need a line that was probably at home. It is then an ordinary line: probably_at_home is false and quantity_note says nothing about the pantry. boolean
data.packs How many packs the family chose to buy for the line, or null for the count worked out from its amount. Set and cleared with PUT /shopping-list/items/{item}. Kept when the list is rebuilt or a recipe adds to the line, and cleared when the family chooses or forgets a product for the name. integer or null
data.group string or null
data.is_checked boolean
data.checked_by string
data.checked_by_name The name of the family member who ticked the line, or null when it is not ticked or the tick predates the record. string or null
data.checked_at When the line was ticked, ISO 8601, or null. string or null
data.added_by Who put the line on the list, {id, name}: the person who typed it, asked the assistant for it, or added the plan, recipe or staples it came from. Null for lines added before this was recorded and for lines added through an integration key. object or null
data.added_by.id string
data.added_by.name string
data.recipe_id string
data.staple_id string
data.is_manual boolean
data.is_skipped boolean
data.source_type enum
data.recipe_names objectoptional
data.contributions Per-recipe prep sub-lines, e.g. {recipe_name: "Roast Chicken Dinner", detail: "sliced, raw", date: "2026-10-12"}. Lets clients render the base name as the row with each recipe's specifics underneath. date is the night the recipe is planned for (Y-m-d), the earliest when the week has it twice, and null for a recipe added from its own page. API: share is that recipe's own part of the line, for a list narrowed to one meal: {quantity, unit, display_quantity, quantity_note, probably_at_home, price}, read as the line's fields of the same names are, with price the share priced on its own (present when the line's price is; a pack count the family chose stays theirs). Null when one recipe needs the line, so the line is its share, or when the recipe's amount is not known: show the line's own fields then. object[]optional
data.contributions[].recipe_id string
data.contributions[].recipe_name string
data.contributions[].detail string
data.contributions[].date string or null
data.contributions[].share object or null
data.contributions[].share.quantity string
data.contributions[].share.unit string
data.contributions[].share.display_quantity string
data.contributions[].share.quantity_note string
data.contributions[].share.probably_at_home string
data.contributions[].share.price string or null
data.is_on_special boolean
data.price string or null

Other responses

Other responses for Change a shopping list item
Status Meaning
403 Forbidden
404 Not found
422 Validation error

DELETE /shopping-list/items/{item}

Remove an item from the shopping list

Parameters

Parameters for Remove an item from the shopping list
Field Type
item The item UUID stringrequired

Example request

curl -X DELETE https://thesaucery.nz/api/v1/shopping-list/items/{item} \
  -H "Authorization: Bearer sc_key_..."

Response 200 · OK

Response body for Remove an item from the shopping list
Field Type
message string

Other responses

Other responses for Remove an item from the shopping list
Status Meaning
403 Forbidden
404 Not found

POST /shopping-list/items

Add an item to the shopping list

A new line comes back with a 201. If an unticked line of the same name is already on the list, that line comes back with a 200 and nothing is added. Leave group out and the line is put in an aisle for you.

Request body

Request body for Add an item to the shopping list
Field Type
name stringrequired
quantity number or null
unit string or null
group enum

Example request

curl -X POST https://thesaucery.nz/api/v1/shopping-list/items \
  -H "Authorization: Bearer sc_key_..." \
  -H "Content-Type: application/json" \
  -d '{"name":"name"}'

Response 200 · OK

No body.

Other responses

Other responses for Add an item to the shopping list
Status Meaning
422 Validation error

POST /shopping-list/items/batch

Add several items to the shopping list

Up to 50 at once, each the same shape as a single add. The response lists the line each one ended up on, in the order they were sent: a new line, or the unticked line of the same name that was already there.

Request body

Request body for Add several items to the shopping list
Field Type
items object[]required
items[].name stringrequired
items[].quantity number or null
items[].unit string or null
items[].group enum

Example request

curl -X POST https://thesaucery.nz/api/v1/shopping-list/items/batch \
  -H "Authorization: Bearer sc_key_..." \
  -H "Content-Type: application/json" \
  -d '{"items":"items"}'

Response 200 · OK

Response body for Add several items to the shopping list
Field Type
data object[]
data[].id string
data[].name string
data[].quantity What to buy: a count is whole and a weight or volume is rounded up to what a shelf sells. A line the family typed in is returned as typed. string
data[].unit string
data[].display_quantity The amount as it reads before the name, in the unit it is bought in: "2.1 l", "5 tbsp", or "about 5" for a weight of something bought by the piece. Null when the line has no amount. string
data[].quantity_note A second line about the amount, or null: the weight behind an "about" count ("540 g altogether"), or "You probably have this in the pantry" when probably_at_home is true. string
data[].probably_at_home True for a spoonful of something from the pantry aisles, or a splash of oil or sauce, that most kitchens already have, unless someone said they need it. The line stays on the list. string
data[].check_at_home True while the line waits under "Check at home": probably_at_home, and not ticked. Such a line is left out of price_summary's totals and counts until someone ticks it or says they need it (POST /shopping-list/items/{item}/need), when it joins its group and the totals. boolean
data[].is_needed True once someone said they need a line that was probably at home. It is then an ordinary line: probably_at_home is false and quantity_note says nothing about the pantry. boolean
data[].packs How many packs the family chose to buy for the line, or null for the count worked out from its amount. Set and cleared with PUT /shopping-list/items/{item}. Kept when the list is rebuilt or a recipe adds to the line, and cleared when the family chooses or forgets a product for the name. integer or null
data[].group string or null
data[].is_checked boolean
data[].checked_by string
data[].checked_by_name The name of the family member who ticked the line, or null when it is not ticked or the tick predates the record. string or null
data[].checked_at When the line was ticked, ISO 8601, or null. string or null
data[].added_by Who put the line on the list, {id, name}: the person who typed it, asked the assistant for it, or added the plan, recipe or staples it came from. Null for lines added before this was recorded and for lines added through an integration key. object or null
data[].added_by.id string
data[].added_by.name string
data[].recipe_id string
data[].staple_id string
data[].is_manual boolean
data[].is_skipped boolean
data[].source_type enum
data[].recipe_names objectoptional
data[].contributions Per-recipe prep sub-lines, e.g. {recipe_name: "Roast Chicken Dinner", detail: "sliced, raw", date: "2026-10-12"}. Lets clients render the base name as the row with each recipe's specifics underneath. date is the night the recipe is planned for (Y-m-d), the earliest when the week has it twice, and null for a recipe added from its own page. API: share is that recipe's own part of the line, for a list narrowed to one meal: {quantity, unit, display_quantity, quantity_note, probably_at_home, price}, read as the line's fields of the same names are, with price the share priced on its own (present when the line's price is; a pack count the family chose stays theirs). Null when one recipe needs the line, so the line is its share, or when the recipe's amount is not known: show the line's own fields then. object[]optional
data[].contributions[].recipe_id string
data[].contributions[].recipe_name string
data[].contributions[].detail string
data[].contributions[].date string or null
data[].contributions[].share object or null
data[].contributions[].share.quantity string
data[].contributions[].share.unit string
data[].contributions[].share.display_quantity string
data[].contributions[].share.quantity_note string
data[].contributions[].share.probably_at_home string
data[].contributions[].share.price string or null
data[].is_on_special boolean
data[].price string or null
created How many of the lines were new. The rest were already on the list. integer

Other responses

Other responses for Add several items to the shopping list
Status Meaning
422 Validation error

POST /shopping-list/items/{item}/check

Tick an item off, or untick it

Send checked: true or checked: false to say which, and a repeated request changes nothing. With no body the item flips, which a retried request will undo.

Parameters

Parameters for Tick an item off, or untick it
Field Type
item The item UUID stringrequired

Request body (optional)

Request body for Tick an item off, or untick it
Field Type
checked boolean

Example request

curl -X POST https://thesaucery.nz/api/v1/shopping-list/items/{item}/check \
  -H "Authorization: Bearer sc_key_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Response 200 · OK

Response body for Tick an item off, or untick it
Field Type
data object
data.id string
data.name string
data.quantity What to buy: a count is whole and a weight or volume is rounded up to what a shelf sells. A line the family typed in is returned as typed. string
data.unit string
data.display_quantity The amount as it reads before the name, in the unit it is bought in: "2.1 l", "5 tbsp", or "about 5" for a weight of something bought by the piece. Null when the line has no amount. string
data.quantity_note A second line about the amount, or null: the weight behind an "about" count ("540 g altogether"), or "You probably have this in the pantry" when probably_at_home is true. string
data.probably_at_home True for a spoonful of something from the pantry aisles, or a splash of oil or sauce, that most kitchens already have, unless someone said they need it. The line stays on the list. string
data.check_at_home True while the line waits under "Check at home": probably_at_home, and not ticked. Such a line is left out of price_summary's totals and counts until someone ticks it or says they need it (POST /shopping-list/items/{item}/need), when it joins its group and the totals. boolean
data.is_needed True once someone said they need a line that was probably at home. It is then an ordinary line: probably_at_home is false and quantity_note says nothing about the pantry. boolean
data.packs How many packs the family chose to buy for the line, or null for the count worked out from its amount. Set and cleared with PUT /shopping-list/items/{item}. Kept when the list is rebuilt or a recipe adds to the line, and cleared when the family chooses or forgets a product for the name. integer or null
data.group string or null
data.is_checked boolean
data.checked_by string
data.checked_by_name The name of the family member who ticked the line, or null when it is not ticked or the tick predates the record. string or null
data.checked_at When the line was ticked, ISO 8601, or null. string or null
data.added_by Who put the line on the list, {id, name}: the person who typed it, asked the assistant for it, or added the plan, recipe or staples it came from. Null for lines added before this was recorded and for lines added through an integration key. object or null
data.added_by.id string
data.added_by.name string
data.recipe_id string
data.staple_id string
data.is_manual boolean
data.is_skipped boolean
data.source_type enum
data.recipe_names objectoptional
data.contributions Per-recipe prep sub-lines, e.g. {recipe_name: "Roast Chicken Dinner", detail: "sliced, raw", date: "2026-10-12"}. Lets clients render the base name as the row with each recipe's specifics underneath. date is the night the recipe is planned for (Y-m-d), the earliest when the week has it twice, and null for a recipe added from its own page. API: share is that recipe's own part of the line, for a list narrowed to one meal: {quantity, unit, display_quantity, quantity_note, probably_at_home, price}, read as the line's fields of the same names are, with price the share priced on its own (present when the line's price is; a pack count the family chose stays theirs). Null when one recipe needs the line, so the line is its share, or when the recipe's amount is not known: show the line's own fields then. object[]optional
data.contributions[].recipe_id string
data.contributions[].recipe_name string
data.contributions[].detail string
data.contributions[].date string or null
data.contributions[].share object or null
data.contributions[].share.quantity string
data.contributions[].share.unit string
data.contributions[].share.display_quantity string
data.contributions[].share.quantity_note string
data.contributions[].share.probably_at_home string
data.contributions[].share.price string or null
data.is_on_special boolean
data.price string or null

Other responses

Other responses for Tick an item off, or untick it
Status Meaning
403 Forbidden
404 Not found
422 Validation error