queryProducts( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Permissions
Manage Stores - all permissions
Manage Products
Read Stores - all read permissions
Read Products
Manage Orders
Learn more about app permissions.
Method Declaration
Copy
function queryProducts(): ProductsQueryBuilder;
Request
This method does not take any parameters
Returns
JavaScript
import { products } from "wix-stores.v2"; async function queryProducts() { const { items } = products.queryProducts().find(); }
Errors

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

Did this help?