Unlike its counterparts elsewhere, Product.variants on the GraphQL Admin API (2025-04) does not expose a query parameter. Forcing the user to request a list of all variants leads to poorer performance and generally is out of place with the otherwise consistent design of the API. Indeed, the query parameter is included on ProductVariantsConnection documentation, yet when attempting to use its implementation on Product, the API returns an error detailing that Please could this feature be implemented as soon as possible, as I would like to be able to work with large amounts of variants at minimal performance cost.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How can I search through 2,000 variants in a product? | 2 | 41 | May 23, 2024 | |
| Product variants error | 6 | 66 | September 27, 2024 | |
| Why does GraphQL Product Api only return first 20 variants? | 0 | 50 | March 4, 2022 | |
| productVariant query for product misses results in GraphQL | 6 | 72 | August 29, 2019 | |
| How to Query Product Variant Count in GraphQL? | 5 | 242 | July 9, 2024 |