Merran documentation API & integrations
Buy this at Walmart for a thing on the list
const url = 'http://localhost:3000/api/stores/walmart/products/0199e8b0-5a10-7a01-8b00-00000000001d';const options = { method: 'PUT', headers: { cookie: 'merran.session_token=<merran.session_token>', 'Content-Type': 'application/json' }, body: '{"product":{"id":"10450114","upc":null,"name":"Great Value 2% Reduced Fat Milk, Gallon, 128 fl oz","brand":"Great Value","size":"128 fl oz","image":"https://i5.walmartimages.com/seo/milk.jpeg","price":327,"salePrice":null,"saleEnds":null,"currency":"USD","aisle":null,"inStock":true,"url":"https://www.walmart.com/ip/10450114"}}'};
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/walmart/products/0199e8b0-5a10-7a01-8b00-00000000001d \ --header 'Content-Type: application/json' \ --cookie merran.session_token=<merran.session_token> \ --data '{ "product": { "id": "10450114", "upc": null, "name": "Great Value 2% Reduced Fat Milk, Gallon, 128 fl oz", "brand": "Great Value", "size": "128 fl oz", "image": "https://i5.walmartimages.com/seo/milk.jpeg", "price": 327, "salePrice": null, "saleEnds": null, "currency": "USD", "aisle": null, "inStock": true, "url": "https://www.walmart.com/ip/10450114" } }'A product someone picked from Walmart, as the extension read it: kept for the thing’s food from now on, and never replaced by Merran’s picks. 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-00000000001dRequest Bodyrequired
Section titled “Request Bodyrequired”object
object
Walmart’s pages don’t say, so the extension sends null.
Example
{ "id": "10450114", "upc": null, "name": "Great Value 2% Reduced Fat Milk, Gallon, 128 fl oz", "brand": "Great Value", "size": "128 fl oz", "image": "https://i5.walmartimages.com/seo/milk.jpeg", "price": 327, "salePrice": null, "saleEnds": null, "currency": "USD", "aisle": null, "inStock": true, "url": "https://www.walmart.com/ip/10450114"}Example
{ "product": { "id": "10450114", "upc": null, "name": "Great Value 2% Reduced Fat Milk, Gallon, 128 fl oz", "brand": "Great Value", "size": "128 fl oz", "image": "https://i5.walmartimages.com/seo/milk.jpeg", "price": 327, "salePrice": null, "saleEnds": null, "currency": "USD", "aisle": null, "inStock": true, "url": "https://www.walmart.com/ip/10450114" }}Responses
Section titled “Responses”Kept, and the line as it is.
object
object
In the currency’s smallest unit: cents.
The sale’s last day.
Merran’s pick, not one the household chose.
How many is worked out from the product’s size, not a guess.
Sent to the cart last time.
Its sale today, if it’s on one.
object
How good a sale is, against what the product usually costs: the lowest in a while, a normal sale, or barely off (under a tenth).
What it usually costs, in cents: its most common price over 90 days, else its regular price.
Example
{ "itemId": "0199e8b0-5a10-7a01-8b00-00000000001d", "name": "milk", "amount": "1 gallon", "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" }, "suggested": true, "packages": 1, "sure": true, "sent": false, "sale": { "verdict": "sale", "usual": 349 }}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 on the list.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}Walmart isn’t turned on 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.