POST

Query Areas


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 areas, given the provided paging, filtering, and sorting.

Query Areas runs with these defaults, which you can override:

  • id is sorted in ASC order
  • cursorPaging.limit is 50

Supported filter and sort fields: id, name, locationId, status, entrances.id, createdDate, updatedDate. To build an area and entrance picker, filter for status ACTIVE and the location's locationId. entrances.id is a list field: filter it with $hasSome, for example {"entrances.id": {"$hasSome": ["<ENTRANCE_ID>"]}} to find the area that holds an entrance. A plain value or $eq fails with INVALID_ARGUMENT.

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

PropertyFiltersSort
id$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
name$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
locationId$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
status$eq, $ne, $in, $existsSort: ASC, DESC
entrances.id$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWithSort: ASC, DESC
createdDate$eq, $ne, $in, $exists, $gt, $gte, $lt, $lteSort: ASC, DESC
updatedDate$eq, $ne, $in, $exists, $gt, $gte, $lt, $lteSort: ASC, DESC
Authentication

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

Permission Scopes
SCOPE.ARRIVALS.READ-AREAS
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/arrivals/v1/areas/query

Errors

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

Did this help?