Filter locations
Returns a paginated list of locations that match the supplied filters.
The filter criteria are passed as a single JSON-encoded object in the input query parameter. Supported filter keys include name/store/phone search (query, storeId, phone), location identifiers (ids), package tier (package), tags, folders, categories, address filters (postalCode, city, stateIso), custom attributes (customAttributes), GBP categories (primaryGbpSiteCategories, additionalGbpSiteCategories), add-ons (addOnIds), Google verification status (googleVerificationStatus), and client account scoping (clientIds).
Results are returned as a Relay-style connection (edges + pageInfo). Use the first/after (or last/before) parameters to page through results.
Request
- Base URLhttps://api.synup.com/api/v4
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
JSON-encoded filter object. See the description for supported keys. Defaults to an empty filter (all locations).
Number of records to return from the start of the result set.
Cursor to fetch records after.
Number of records to return from the end of the result set.
Cursor to fetch records before.
Filter by archived state (true/false).
Filter by approved state (true/false).
Return only locations that currently have errors.
Return only locations scheduled for archival.
Location IDs to exclude from the result set.
Sort results by location name ascending.
Headers
API version date (YYYY-MM-DD).
API key for authentication.
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.