Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
The query below works perfectly fine with an estimated cost of 702, but an actual of 59 that I send to the graphql.json endpoint.
However if I add a third productVariant, I get an ECONNRESET error, where the cost is also 702 which is very well below the limit.
Why is that ?
query GetProductVariants($productVariantId0: ID!, $productVariantId1: ID!) { PRODUCT_0: productVariant(id: $productVariantId0) { ...ProductVariantFields } PRODUCT_1: productVariant(id: $productVariantId1) { ...ProductVariantFields } } fragment ProductVariantFields on ProductVariant { price sku id inventoryQuantity inventoryManagement inventoryPolicy inventoryItem { id inventoryLevels(first: 1) { edges { node { location { id } } } } } }
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025