{"info":{"_postman_id":"529e470d-9185-484d-8e88-f15b7e643911","name":"ZenLocator API (beta)","description":"<html><head></head><body><h2 id=\"api-status\">API Status</h2>\n<p>Status for the API can be found at <a href=\"https://status.zenlocator.com\">https://status.zenlocator.com</a></p>\n<h2 id=\"getting-started\">Getting Started</h2>\n<p>ZenLocator API exposes the ZenLocator infrastructure via a standardized programmatic interface. Using ZenLocator's API, you have programmatic access to your data, while using your programming language of choice.</p>\n<p>The API is in beta status and endpoints are added often. If you'd like to see support for something but don't see it in the documentation yet, please reach out to us so we can add it.</p>\n<p>Not all ZenLocator accounts have REST API support. To check whether your API access is turned on, login to your dashboard at <a href=\"https://app.zenlocator.com\">https://app.zenlocator.com</a> and navigate to <strong>App</strong> &gt; <strong>API</strong>. If you do not see that page, please upgrade your app to a <em>Business</em> plan to use the API.</p>\n<p>On <strong>App</strong> &gt; <strong>API</strong> page you will find ids used throughout the documentation:</p>\n<p>{{account}} - your account id (eg: \"act_abcdefgh\")</p>\n<p>{{app}} - your app id (eg: \"app_abcdefgh\")</p>\n<h2 id=\"client-side-api\">Client-side API</h2>\n<p>Are you looking for a JavaScript API to access and control your widgets on your own website? There's a <a href=\"https://github.com/zenlocator/javascript-api\">different documentation</a> for that.</p>\n<h2 id=\"need-help\">Need help?</h2>\n<p>The ZenLocator engineers are always around answering questions. To reach out please use your dashboard to send us a message and we'll be happy to take a look!</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6886719","collectionId":"529e470d-9185-484d-8e88-f15b7e643911","publishedId":"S17wPSGy","public":true,"customColor":{"top-bar":"FFF","right-sidebar":"303030","highlight":"4095D8"},"publishDate":"2019-03-31T17:31:18.000Z"},"item":[{"name":"Locations","item":[{"name":"list locations","id":"0f8f81fe-4911-46bf-99a9-5e84aa8ba43b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.zenlocator.com/v1/apps/{{app}}/locations/search","description":"<p>List locations for the app.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>page</td>\n<td>optional</td>\n<td>Page number</td>\n</tr>\n<tr>\n<td>count</td>\n<td>optional</td>\n<td>Number of results to return per page</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","apps","{{app}}","locations","search"],"host":["api","zenlocator","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f8f81fe-4911-46bf-99a9-5e84aa8ba43b"},{"name":"search by query","id":"36ebc750-d268-4044-8be3-7b83018b570e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.zenlocator.com/v1/apps/{{app}}/locations/search","description":"<p>Search for locations by geographical area.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>query</td>\n<td>required</td>\n<td>Geographical area to search (city, state, region, postal code, country)</td>\n</tr>\n<tr>\n<td>radius</td>\n<td>optional</td>\n<td>Radius of the area from the center (in meters)</td>\n</tr>\n<tr>\n<td>countryCode</td>\n<td>optional</td>\n<td>Suggested country code to use for geocoding query (alpha-2 code)</td>\n</tr>\n<tr>\n<td>products</td>\n<td>optional</td>\n<td>A comma-separated list of product ids to filter by (eg: \"prd_abc,prd_xyz\")</td>\n</tr>\n<tr>\n<td>filters</td>\n<td>optional</td>\n<td>A comma-separated list of filter ids to filter by (eg: \"flt_abc,flt_xyz\")</td>\n</tr>\n<tr>\n<td>retailers</td>\n<td>optional</td>\n<td>A comma-separated list of retailer ids to filter by (eg: \"rtl_abc,rtl_xyz\")</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","apps","{{app}}","locations","search"],"host":["api","zenlocator","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"36ebc750-d268-4044-8be3-7b83018b570e"},{"name":"search by coordinates","id":"0e31458b-eeb8-466f-8479-89a02524e6aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.zenlocator.com/v1/apps/{{app}}/locations/search","description":"<p>Search for locations from specific coordinates.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>lat</td>\n<td>required</td>\n<td>Latitude</td>\n</tr>\n<tr>\n<td>lng</td>\n<td>required</td>\n<td>Longitude</td>\n</tr>\n<tr>\n<td>radius</td>\n<td>required</td>\n<td>Radius of the area from coordinates (in meters)</td>\n</tr>\n<tr>\n<td>countryCode</td>\n<td>optional</td>\n<td>Suggested country code to use for geocoding query (alpha-2 code)</td>\n</tr>\n<tr>\n<td>products</td>\n<td>optional</td>\n<td>A comma-separated list of product ids to filter by (eg: \"prd_abc,prd_xyz\")</td>\n</tr>\n<tr>\n<td>filters</td>\n<td>optional</td>\n<td>A comma-separated list of filter ids to filter by (eg: \"flt_abc,flt_xyz\")</td>\n</tr>\n<tr>\n<td>retailers</td>\n<td>optional</td>\n<td>A comma-separated list of retailer ids to filter by (eg: \"rtl_abc,rtl_xyz\")</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","apps","{{app}}","locations","search"],"host":["api","zenlocator","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0e31458b-eeb8-466f-8479-89a02524e6aa"},{"name":"search by bounds","id":"b8d8a310-0b61-4825-8fda-e436cd46b9b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.zenlocator.com/v1/apps/{{app}}/locations/search","description":"<p>Search for locations gives specific bounds.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>southwest</td>\n<td>required</td>\n<td>Southwest coordinates in format \"lat,lng\" (eg: \"32,-180\")</td>\n</tr>\n<tr>\n<td>northeast</td>\n<td>required</td>\n<td>Northeast coordinates in format \"lat,lng\" (eg: \"38,-100\")</td>\n</tr>\n<tr>\n<td>products</td>\n<td>optional</td>\n<td>A comma-separated list of product ids to filter by (eg: \"prd_abc,prd_xyz\")</td>\n</tr>\n<tr>\n<td>filters</td>\n<td>optional</td>\n<td>A comma-separated list of filter ids to filter by (eg: \"flt_abc,flt_xyz\")</td>\n</tr>\n<tr>\n<td>retailers</td>\n<td>optional</td>\n<td>A comma-separated list of retailer ids to filter by (eg: \"rtl_abc,rtl_xyz\")</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","apps","{{app}}","locations","search"],"host":["api","zenlocator","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8d8a310-0b61-4825-8fda-e436cd46b9b7"}],"id":"acb8d075-6a2c-44eb-be87-ab3a26fe91ef","_postman_id":"acb8d075-6a2c-44eb-be87-ab3a26fe91ef","description":""}],"event":[{"listen":"prerequest","script":{"id":"8fa2e253-75c9-413c-9b92-b2173ce1404a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a0ea41bf-bca6-4adb-89cf-cf8f5fb65b47","type":"text/javascript","exec":[""]}}]}