Account-user location list (GET dropdown)
Overview
Get a flat label/value list of the stores the authenticated user can access, for dropdowns. An All option is prepended when there are 2+ stores, or whenever appendAll is truthy. Backs getUserStoreList.
Prerequisites
- A bearer token. Callable with Partner and Account tokens.
Base URL
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://development-api.shoutaboutus.com |
Endpoint
GET /api/v1/store/list
Authentication
-
Requires a bearer token in the
Authorization: Bearer <bearer-token>header. -
Who can call it: Partner and Account tokens.
-
(Partner or Account user) — authentication, role-agnostic
store/group. -
Scope is keyed off the caller's. A partner sees every store under its tree. An account user sees only its own account's stores.
-
No per-row ownership params on this route.
Rate limit
- No rate limit.
Query parameters
- Query:
active_plan(integer, optional) —0(default, all) or1(only stores with an active plan). - Query:
appendAll(integer/any, optional) — when truthy, forces theAlloption even with a single store. - Query:
search(string, optional, max 255) — switches to a filtered name lookup; theAllrow is omitted while searching. - Query:
limit(integer, optional) — page size for the filtered lookup; 10–50 (values below 10 are raised to 10).
Response
data.status(string) —success.data.response(array) — list of{ label, value };labelisnameorname - storeid, STATEandvalueis the store id.Allrow (value: "") prepended per the count/appendAll rule. Empty array when the user has no stores.
200 OK · 200
200{
"data": {
"status": "success",
"response": [
{
"label": "All",
"value": ""
},
{
"label": "Demo Brew - Alameda County, CA",
"value": 2
},
{
"label": "GSLoc - SID123",
"value": 14
}
]
}
}Errors
| Status | Meaning |
|---|---|
401 | The bearer token is missing, expired or invalid |
422 | The request failed validation — the response names the fields |
500 | Unexpected server error |
Example request
curl --request GET \
--url "https://production-api.shoutaboutus.com/api/v1/store/list?active_plan=1&appendAll=1" \
--header 'Authorization: Bearer <bearer-token>' \
--header 'Accept: application/json'Updated 8 days ago
Did this page help you?
