POST

Query Google Locations


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of up to 100 GBP locations with their current Google data, given the provided paging, filtering, and sorting.

Takes the same filters as Query GBP Locations, and additionally retrieves each location's live profile data from Google: title, address, opening hours and so on. Use it when you need both the stored identifiers and the current profile in one call.

A location whose Google data can't be retrieved is still returned, with the reason in that location's googleError. The call as a whole succeeds and paging is unaffected, so check googleError per location rather than relying on the response status.

Supported properties for filtering and sorting: id, googleLocationId, accountId.

To learn about working with Query methods, see API Query Language, Sorting and Paging, and Field Projection.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage SEO Settings
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/gbp/v1/locations/query-with-google

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?