products.json works differently to {id}.json

Solved
Haroon2
New Member
3 1 0

 

If I call https://rangertest1.myshopify.com/admin/api/2021-04/products.json?ids=6548998684718, everything works perfectly

If I call https://rangertest1.myshopify.com/admin/api/2021-04/6548998684718.json, I get a 'Not Found' error

 

I thought that they should do the same thing

 

What am I missing?

 

 

0 Likes
Haroon2
New Member
3 1 0

This is an accepted solution.

 

I can be so daft at times

I missed the path element 'products' out of the link

So it should read https://rangertest1.myshopify.com/admin/api/2021-04/products/6548998684718.json

Oddly enough, that works perfectly

Sorry for wasting peeps time

 

 

0 Likes