Locations
Locations
Location add-on count
Returns how many locations in the filtered set have the specified add-on enabled vs disabled, along with counts for other add-ons in the same product umbrella. Scope the set with filterInput/selectionType/locationIds, identical to Filter locations.
get/locations/add-on-count
Request
- Base URLhttps://api.synup.com/api/v4
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
addOnIdstring required
ID of the add-on to count enablement for.
filterInputstring
JSON-encoded filter object. Defaults to an empty filter (all locations).
selectionType'ALL_ITEMS' | 'SELECTED_ITEMS'
Whether to include all matching locations or an explicit selection.
locationIdsstring[]
Location IDs to include when selectionType is SELECTED_ITEMS.
Headers
Synup-Versionstring required
API version date (YYYY-MM-DD).
Authorizationstring required
API key for authentication.
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.