About Wix App Collection Queries

Wix app collections are special collections included by some apps made by Wix when you add them to a site.

Query methods

You can query Wix app for data using 2 approaches:

  1. Generic Wix Data query methods: Use the standard Wix Data Items API methods like query(), get(), and find() to interact with app collections the same way you would with regular collections.

  2. SDK-specific query methods: Many Wix apps also provide their own specialized query methods through the Wix SDK.

Query limitations

Not all fields in Wix app collections can be used for filtering or sorting operations. Each collection has specific fields that support these operations.

Additional query options

Some Wix app collections support additional query options, allowing you to refine your queries to retrieve details specific to each collection.

For example, when querying the Wix Stores Products collection using the find() method, you can include product variants by specifying the following query options:

Copy

The collections that support additional query options are listed below. When calling methods that run the query, such as find(), count(), or distinct(), you can specify these parameters in the options.appOptions object.

Supported collections and options

The following collections support additional query options.

Products collection

ParameterTypeDescription
includeVariantsBooleanWhether to retrieve product variants. Default: false.
includeHiddenProductsBooleanWhether to retrieve hidden products. Default: false.

See also

Did this help?