Merran documentation API & integrations
It isn't at home after all
const url = 'http://localhost:3000/api/list/covered/0199e8b0-5a10-7a01-8b00-000000000026/not-at-home';const options = { method: 'POST', headers: {cookie: 'merran.session_token=<merran.session_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:3000/api/list/covered/0199e8b0-5a10-7a01-8b00-000000000026/not-at-home \ --cookie merran.session_token=<merran.session_token>The thing at home is used up, and everything it was set aside for planned meals on the list still to come goes on the list. The answer says what the list and the pantry were, for Undo with /list/restore and /pantry/restore. With an API key, it needs the list: write permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
0199e8b0-5a10-7a01-8b00-000000000026Responses
Section titled “Responses”On the list.
object
New lines on the list.
Lines added to ones already there.
The lines added to, as they were: for Undo with /list/restore.
An item as it was, to put it back (Undo).
object
How it got on the list: from the plan, typed in, every week, a usual buy, or the assistant.
object
What checking it off put in the pantry, so unchecking takes it back out.
object
The pantry item it went into; null for household things and staples.
It made that pantry item, rather than joining one already there.
It gave an amount to a pantry item that was there with none, so taking it back leaves that item with none again.
object
The purchase it recorded.
The new lines’ ids: for Undo with /list/restore.
Things at home as they were, for Undo with /pantry/restore.
Something at home as it was, to put it back (Undo).
object
Where it’s kept.
object
How much of it was counted on when the meal went on the list, keeping that much off the list.
object
Example
{ "added": 1, "merged": 0, "before": [], "remove": [ "0199e8b0-5a10-7a01-8b00-00000000001d" ], "pantry": []}Not signed in.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}Not allowed.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}Not in the pantry.
object
object
object
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.