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.
| PROPERTY | SUPPORTED FILTERS & SORTING |
|---|---|
_id | eq(),ne(),exists(),in(),hasSome(),startsWith(),gt(),lt(),le(),ge(),ascending(),descending() |
productData.productId | eq(),ne(),exists(),in(),hasSome(),startsWith(),gt(),lt(),le(),ge(),ascending(),descending() |
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.