Development discussions around Shopify APIs
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?
User | RANK |
---|---|
10 | |
4 | |
3 | |
3 | |
3 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023