Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

Nick commented on Is it possible to hook into the existing admin's functionality? ie. capture checked items in the admin/products page?

$
0
0

So there's no way to simply do: ShopifyAPI::Product.find([1,2,3,4])?

I must do:

ShopifyAPI::Product.find(1)
ShopifyAPI::Product.find(2)
ShopifyAPI::Product.find(3)
ShopifyAPI::Product.find(4)

And then mirror them in my own app's DB, then query my DB with Product.find([1,2,3,4]) to get back a list of 4 products that were selected by the user?

All I want to do is take the selected products from the user, make a modification to them on my end and push them back through the API. I know to write updated products I have to do 1 call per item, but why is there no way to grab 2 IDs worth of products in 1 call?


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>