Development discussions around Shopify APIs
Is there any way (Using the REST API, rails gem specifically) to fetch multiple variants by their ids, like you can with products?
Retrieve a list of specific products.
but only this with variants:Retrieve a product variant by ID
Since variants live on the product object, it's currently not possible to retrieve multiple variants from a single call (unless all those variants belong to the same product).
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
As a business owner, have you ever wondered when your customer's first impression of yo...By Skye Jun 6, 2023
We're excited to announce improvements to the threaded messaging experience in our communi...By TyW May 31, 2023
Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...By Jacqui May 30, 2023