Merran documentation API & integrations
Foods and products the household buys at its stores
GET
/api/stores/products
const url = 'http://localhost:3000/api/stores/products';const options = { method: 'GET', 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 GET \ --url http://localhost:3000/api/stores/products \ --cookie merran.session_token=<merran.session_token>Foods used in recipes, lists, the pantry or purchases, plus existing mappings. Products are kept separately for each connected store. With an API key, it needs the list: read permission.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The household’s foods and products.
Media typeapplication/json
object
stores
required
Array<object>
object
key
required
string
name
required
string
connected
required
boolean
searchable
required
boolean
aisles
required
Array<object>
object
id
required
string
key
required
string | null
name
required
string
foods
required
Array<object>
object
food
required
string
name
required
string
aisle
required
string | null
products
required
Array<object>
object
store
required
string
product
required
object
id
required
string
upc
required
string | null
name
required
string
brand
required
string | null
size
required
string | null
image
required
string | null
price
required
In the currency’s smallest unit: cents.
integer | null
salePrice
required
integer | null
saleEnds
required
The sale’s last day.
string | null
currency
required
string
aisle
required
string | null
inStock
required
boolean
url
required
string | null
chosen
required
boolean
updatedAt
required
string format: date-time
Example
{ "stores": [ { "key": "kroger", "name": "Fry's", "connected": true, "searchable": true } ], "aisles": [ { "id": "produce-id", "key": "produce", "name": "Produce" } ], "foods": [ { "food": "milk", "name": "milk", "aisle": null, "products": [ { "store": "kroger", "product": { "id": "0001111041700", "upc": "0001111041700", "name": "Kroger 2% Reduced Fat Milk", "brand": "Kroger", "size": "1 gal", "image": "https://www.kroger.com/product/images/medium/front/0001111041700", "price": 349, "salePrice": 299, "saleEnds": "2026-10-21", "currency": "USD", "aisle": "Dairy", "inStock": true, "url": "https://www.frysfood.com/p/milk/0001111041700" }, "chosen": true, "updatedAt": "2026-10-01T17:30:00.000Z" } ] } ]}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.