How to get product json by product ID?

Josh
Shopify Staff
Shopify Staff
1131 82 202

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

0 Likes
soumik1
Shopify Partner
4 0 0
But for that you need to login to admin
0 Likes
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

0 Likes
Georgekpc
Shopify Partner
14 0 2

Have you tried this?

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

 

0 Likes