Search.../

queryProducts( )

Developer Preview

Returns a list of up to 100 products, given the provided paging, sorting and filtering.

Syntax

function queryProducts(): ProductsQueryBuilder

queryProducts Parameters

This function does not take any parameters.

Returns

Was this helpful?

queryProducts example

Copy Code
1import { products } from 'wix-stores.v2';
2
3 async function queryProducts() {
4 const { items } = products.queryProducts().find();
5 }
6