Merran documentation API & integrations
Pick the household's Kroger store
const url = 'http://localhost:3000/api/stores/kroger';const options = { method: 'PUT', headers: { cookie: 'merran.session_token=<merran.session_token>', 'Content-Type': 'application/json' }, body: '{"locationId":"70500822","modality":"PICKUP"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url http://localhost:3000/api/stores/kroger \ --header 'Content-Type: application/json' \ --cookie merran.session_token=<merran.session_token> \ --data '{ "locationId": "70500822", "modality": "PICKUP" }'Household admins only. The store the household shops at (from GET /stores/kroger/locations), and whether orders are picked up or delivered. A new store has its prices and sales checked straight away.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
Example
{ "locationId": "70500822", "modality": "PICKUP"}Responses
Section titled “Responses”Its stores now.
object
object
The server has a Kroger developer app.
Orders are picked up or delivered.
The account whose cart things go to.
object
Kroger stopped taking the linked account.
When its prices and sales were last checked.
How much Fill the week and the autoplan lean on deals: the household setting stores.leanOnSales.
The household’s weekly budget in its store’s currency, or null: the household setting stores.weeklyBudget.
Example
{ "kroger": { "ready": true, "location": { "locationId": "70500822", "name": "Fry's Food Stores - Phoenix", "banner": "Fry's", "domain": "frysfood.com", "address": "4724 N 20th St, Phoenix, AZ" }, "modality": "PICKUP", "linked": { "by": "Kyle", "at": "2026-10-01T17:30:00.000Z" }, "needsRelink": false, "pricesCheckedAt": null, "leanOnSales": "some", "weeklyBudget": 120 }}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." } }}No such Kroger store.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}Kroger isn’t set up on this server.
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.