List every category id one 7NOW store accepts
Enumerates every value GET /7now/category accepts for a store, so callers do not have to pull the full catalog to discover them. 7NOW has two disjoint id spaces behind that one parameter: departments are the store's 10 permanent browsable departments (Fresh Food, Drinks, Snacks, Candy, Ice Cream, Beer & Seltzer, Tobacco, Grocery, Household, Personal Care), and shelves are the merchandising rows the homepage currently features ("$2 Deals", "What's New", "Only At 7-Eleven", seasonal ones). Both work as category_id. Shelves rotate with promotions and seasons, so re-read them rather than caching ids long-term. store_id comes from GET /7now/stores; lat and lon are accepted but inert (store_id alone selects the store).
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/7now/categories
- Auth: API key in header x-api-key
Query parameters
7NOW store id, from GET /7now/stores.
Accepted but inert -- store_id alone selects the store; responses are byte-identical with any value or none. Forwarded upstream for fidelity with 7now.com's own client.
Accepted but inert -- see lat.
Headers
API key required
Response
OK
Example response
{
"data": {
"count": 25,
"departments": [
{
"display_order": 18,
"id": "48395",
"item_count": 25,
"kind": "department",
"name": "Drinks"
}
],
"shelves": [
{
"display_order": 18,
"id": "48395",
"item_count": 25,
"kind": "department",
"name": "Drinks"
}
],
"store_id": "39640"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.