Wix app collections are special collections included by some apps made by Wix when you add them to a site.
You can query Wix app for data using 2 approaches:
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.
SDK-specific query methods: Many Wix apps also provide their own specialized query methods through the Wix SDK.
Not all fields in Wix app collections can be used for filtering or sorting operations. Each collection has specific fields that support these operations.
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:
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.
The following collections support additional query options.
| Parameter | Type | Description |
|---|---|---|
includeVariants | Boolean | Whether to retrieve product variants. Default: false. |
includeHiddenProducts | Boolean | Whether to retrieve hidden products. Default: false. |