List Store Map Points
Every store that has coordinates, as the smallest shape a map marker needs.
Separate from list_stores because plotting the whole footprint means ~15.9k rows, and StoreRead carries address, homepage, logo columns and a per-store ratings enrichment query — none of which a dot on a map uses. This returns four scalars per store and runs as a single query.
has_products rides along so the client can colour the two populations differently. That contrast is the point of the map: 127 of 15,866 stores hold inventory, and seeing where the empty ones cluster is what says which cities are worth scraping next.
Stores with no coordinates are omitted rather than dropped at 0,0 — null island is a real place in the Gulf of Guinea, and the sitemap filter already excludes stores pinned there for the same reason.
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/v1/stores/map-points
- Auth: none declared
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.