Getting information about a product

Maqda7
Shopify Partner
6 0 0

Hi there!

I am using python to extract some information about orders and the products within those orders. 

Going through the order information works great. For each line item in the order i get the id and plug that into the /admin/api/2020-04/products/{product_id}.json url to extract the tags of that product. 

 

But every single product i query i receive a {"errors": "Not Found"} . The URL comes out 100% correct. 

 

Am I extracting the wrong product id or is there something else I am missing?

 

0 Likes
SBD_
Shopify Staff
Shopify Staff
1044 141 185

Can you provide more information / an example?

0 Likes