Skip to content
merran
GitHubInstall

Merran documentation API & integrations

Check prices now

POST
/api/stores/kroger/prices
curl --request POST \
--url http://localhost:3000/api/stores/kroger/prices \
--cookie merran.session_token=<merran.session_token>

Household admins only. What’s done each morning by itself: today’s prices for the products the household keeps, and a look at the store for foods its recipes use, for their sales. It waits up to 10 seconds; past that it answers 202 with the job, and the check goes on in the background.

Checked.

Media typeapplication/json
object
refreshed
required

Products the household keeps, given today’s price.

integer
searched
required

Foods from its recipes looked up at the store.

integer
deals
required

Foods in its recipes that are a deal now.

integer

Example

{
"refreshed": 12,
"searched": 20,
"deals": 3
}

Still checking: the stores say it’s checking until this job is done.

Media typeapplication/json
object
id
required
string
kind
required

What it does, like “household.import”.

string
status
required
string
Allowed values: queued running done failed cancelled
scheduled
required

Whether it comes round on a schedule, like the nightly purge.

boolean
householdId
required
string | null
progress
required

How far it’s got, once it says.

object
done
required
number
total
required
number
result
required

What it did, once it’s done. A job followed item by item, like importing several links, says what it’s done so far as it goes.

object | null
error
required

Why it last failed.

string | null
attempts
required
number
maxAttempts
required
number
runAt
required

Not before then.

string format: date-time
startedAt
required
string | null format: date-time
finishedAt
required
string | null format: date-time
handedOver
required

A request waiting for it gave up and left it to run in the background, so whoever started it hears when it ends.

boolean
createdAt
required
string format: date-time

Example

{
"id": "0199e8b0-5a10-7a01-8b00-00000000000b",
"kind": "household.import",
"status": "running",
"scheduled": false,
"householdId": "0199e8b0-5a10-7a01-8b00-000000000003",
"progress": {
"done": 42,
"total": 128
},
"result": null,
"error": null,
"attempts": 1,
"maxAttempts": 3,
"runAt": "2026-10-15T18:30:00.000Z",
"startedAt": "2026-10-15T18:30:00.000Z",
"finishedAt": null,
"handedOver": false,
"createdAt": "2026-10-15T18: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."
}
}
}

The check was stopped before it finished (job_stopped).

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."
}
}
}

Kroger isn’t set up, or there’s no store picked.

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."
}
}
}

Kroger’s daily limit for the app is used up.

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."
}
}
}

Kroger didn’t answer, or the check didn’t finish (job_failed).

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.