Development discussions around Shopify APIs
I know that I can get multiple variants under a product. What about variants from different products?
I need to do so to generate a custom product for bulk orders. Now, I can only use for loop to get variants one by one, which is very slow. And I cannot get more variants say 40 to 60.
Solved! Go to the solution
This is an accepted solution.
Yes, here it is: https://shopify.dev/api/admin-graphql/2021-10/queries/productVariants#examples-Get_multiple_product_...
Not sure if it's added recently or I omitted this part. Anyway, it works.
This is an accepted solution.
Yes, here it is: https://shopify.dev/api/admin-graphql/2021-10/queries/productVariants#examples-Get_multiple_product_...
Not sure if it's added recently or I omitted this part. Anyway, it works.
User | RANK |
---|---|
46 | |
16 | |
9 | |
9 | |
7 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023