Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Say I wanted to retrieve a set of products by id. Some sample code from the API docs suggests this approach using aliases ("glasses" and "shoes"):
{
glasses: product(id: "gid://shopify/Product/108828309") {
title
description
}
shoes: product(id: "gid://shopify/Product/910489600") {
title
description
}
}
But if my list of products were large, with connections, this query might be quite expensive and fail.
So I tried using a bulk operation instead. With connections to variants I only get the variant data lines in the JSONL, no product data.
Has anyone tried queries of this type, with connections, in bulk ops successfully?
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By