Skip to content
merran
GitHubInstall

Merran documentation API & integrations

Recipe ingredient lines behind a shopping item

GET
/api/list/items/{itemId}/details
curl --request GET \
--url http://localhost:3000/api/list/items/0199e8b0-5a10-7a01-8b00-00000000001d/details \
--cookie merran.session_token=<merran.session_token>

Current recipe lines for the item’s linked planned meals and sides, using the list’s food matching and compatible-unit rules. Includes original wording, serving-scaled wording and recorded outstanding meal contributions after pantry deductions. These are current recipe details, not historical snapshots or proof of retailer purchases. Missing or changed recipe details are counted explicitly. With an API key, it needs the list: read permission.

itemId
required
string

Example

0199e8b0-5a10-7a01-8b00-00000000001d

The item’s recipe lines.

Media typeapplication/json
object
name
required
string
amount
required
string
source
required

How it got on the list: from the plan, typed in, every week, a usual buy, or the assistant.

string
Allowed values: plan typed every-week usual assistant
unavailableMeals
required
integer
meals
required
Array<object>
object
id
required
string
name
required
string
date
required
string
/^\d{4}-\d{2}-\d{2}$/
anyDay
required
boolean
listedAmounts
required

Recorded outstanding meal contributions after pantry deductions; may differ from a manually edited list amount.

Array<string>
atHome
required

How much of it at home was counted on for the meal when it went on the list, so isn’t on the list.

Array<string>
lines
required
Array<object>
object
recipe
required
string
original
required
string
planned
required
string
factor
required
number

Example

{
"name": "chicken thighs",
"amount": "3 lb",
"source": "plan",
"unavailableMeals": 0,
"meals": [
{
"id": "0199e8b0-5a10-7a01-8b00-00000000001b",
"name": "Lemon Chicken",
"date": "2026-10-15",
"anyDay": false,
"listedAmounts": [
"3 lb"
],
"atHome": [
"1 lb"
],
"lines": [
{
"recipe": "Lemon Chicken",
"original": "2 lb chicken thighs",
"planned": "3 lb chicken thighs",
"factor": 1.5
}
]
}
]
}

Not signed in.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

Not allowed.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

That isn’t on the list.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

© 2026 Kyle Johnson. Documentation: CC BY 4.0. Merran: AGPL-3.0-or-later.