POST

Query 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 3 separate lists of business, custom, and customer locations (SDK | REST), given the provided filtering, and whether each location is connected to at least one of the site's services.

Defaults

Query Locations has the following default setting, which you can't override: Sorted by id in ascending order.

Filters

For a complete list of supported filters, refer to the location object (REST).

When using date filters, you must use UTC time.

See also

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

Permissions
Manage Bookings Services and Settings
Manage Bookings - all permissions
Read Bookings - all read permissions
Manage Bookings
Read Bookings - Public Data
Read Bookings - Including Participants
Manage Stores
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/_api/bookings/v2/services/locations/query

Errors

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

Did this help?