Merran documentation API & integrations
Change the household
PATCH
/api/households/current
const url = 'http://localhost:3000/api/households/current';const options = { method: 'PATCH', headers: { cookie: 'merran.session_token=<merran.session_token>', 'Content-Type': 'application/json' }, body: '{"name":"The Rivera-Parks","weekStartsOn":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url http://localhost:3000/api/households/current \ --header 'Content-Type: application/json' \ --cookie merran.session_token=<merran.session_token> \ --data '{ "name": "The Rivera-Parks", "weekStartsOn": 1 }'Household admins only.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
string
country
string | null
currency
string | null
timeZone
string
weekStartsOn
integer
meals
The meals filled for it.
Array<string>
Example
{ "name": "The Rivera-Parks", "weekStartsOn": 1}Responses
Section titled “Responses”Changed.
Media typeapplication/json
object
id
required
string
name
required
string
country
required
string | null
currency
required
string | null
timeZone
required
string
weekStartsOn
required
integer
meals
required
The meals filled for it (by Fill the week and Plan each week), in a day’s order: every meal until it opts out of some. Any meal can be planned by hand.
Array<string>
role
required
string
Example
{ "id": "0199e8b0-5a10-7a01-8b00-000000000003", "name": "The Riveras", "country": "US", "currency": "USD", "timeZone": "America/Phoenix", "weekStartsOn": 0, "meals": [ "dinner" ], "role": "owner"}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." } }}© 2026 Kyle Johnson. Documentation: CC BY 4.0. Merran: AGPL-3.0-or-later.