FROM CACHE - en_header

How to get product json by product ID?

Athar_Rasheed
Shopify Partner
19 0 0
Replies 4 (4)
Josh
Shopify Staff
Shopify Staff
1134 83 219

Hi Athar, 

If you are trying to retrieve product information by ID via the Shopify API, you'd want to issue a GET request to /admin/products/product_id.json - that would return all product information. 

Regards,
Josh Wheeler
Shopify Developer Experience

Josh | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

soumik1
Shopify Partner
4 0 0
But for that you need to login to admin
srigiri
New Member
1 0 0

Im looking for the same. 

Getting only the products for the ids passed to products.json (Not the admin API).

Any leads will be helpful. 

Thanks,

Sri

Georgekpc
Shopify Partner
17 0 2

Have you tried this?

https://shopname.myshopify.com/products/${handle}.json