Retrieve product variants using structured queries with cursor-based pagination.
Use this endpoint for simple filtering operations on id and productId.
For complex queries with free-text search and aggregations, use Search Variants instead.
Up to 1,000 variants can be returned per request.
To learn about working with Query endpoints, see API Query Language, and Sorting and Paging.
Learn more about the differences between Query and Search methods.
| Field | Supported Filters | Sort |
|---|---|---|
id | $eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte | Sort: ASC, DESC |
productData.productId | $eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte | Sort: ASC, DESC |
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.