The Admin API has a field in the QueryRoot called productVariant with an id argument (https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot/index). The Storefront API does not have this field on the QueryRoot. How can I search for a product variant on the storefront api in a similar way as the admin api (by the id or even sku would work)?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Could I query a productvariant by id of the variant? | 3 | 50 | December 13, 2019 | |
| BUG - Cannot query by Product Variant | 1 | 14 | April 12, 2024 | |
| Querying product variants via Storefront API | 0 | 20 | August 23, 2021 | |
| Query Product Variants directly and filter by SKUs | 2 | 149 | November 3, 2023 | |
| BUG - Unable to get product variants usng Storefront Api | 0 | 8 | April 10, 2024 |