Skip to content
merran
GitHubInstall

Merran documentation API & integrations

Where each thing on a list can go

GET
/api/stores/send-plan
curl --request GET \
--url 'http://localhost:3000/api/stores/send-plan?list=0199e8b0-5a10-7a01-8b00-00000000001c' \
--cookie merran.session_token=<merran.session_token>

Shopping progress for one list: connected stores and cart links, selected products, and successful transfers with their original pack counts, products and times. Changed items/products and older transfers without snapshots require cart review. Sending does not mark an item bought or confirm checkout. Each store’s part can be reviewed and sent with its basket’s items. With an API key, it needs the list: read permission.

list
required

The list being sent: the one the person’s looking at.

string format: uuid

Example

0199e8b0-5a10-7a01-8b00-00000000001c

The list being sent: the one the person’s looking at.

Where each thing can go.

Media typeapplication/json
object
stores
required

The stores Merran can send to.

Array<object>
object
key
required
string
name
required
string
cartUrl
required
string format: uri
items
required
Array<object>
object
itemId
required
string
name
required
string
amount
required
string | null
picked
required

The stores the household picked a product at for its food (someone picked it, or it was sent there before; Merran’s own picks don’t count), newest first.

Array<string>
sent
required

The stores it’s been sent to while it’s on the list.

Array<string>
products
required
Array<object>
object
store
required
string
name
required
string
size
required
string | null
inStock
required
boolean
deliveries
required
Array<object>
object
store
required
string
packages
required
number
product
required
string | null
size
required
string | null
at
required
string
changed
required

The item or chosen product changed since sending, or an older send has no snapshot. Review the retailer cart before sending again.

boolean

Example

{
"stores": [
{
"key": "kroger",
"name": "Fry's",
"cartUrl": "https://www.frysfood.com/cart"
},
{
"key": "walmart",
"name": "Walmart",
"cartUrl": "https://www.walmart.com/cart"
}
],
"items": [
{
"itemId": "0199e8b0-5a10-7a01-8b00-00000000001d",
"name": "milk",
"amount": "1 gallon",
"picked": [
"walmart",
"kroger"
],
"sent": [],
"products": [],
"deliveries": []
},
{
"itemId": "0199e8b0-5a10-7a01-8b00-00000000001e",
"name": "eggs",
"amount": "12",
"picked": [],
"sent": [],
"products": [],
"deliveries": []
}
]
}

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

There’s no such list.

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.