What does `/admin/products.json' respond with when it can't find any matches?

Highlighted
Shopify Partner
115 0 7

When you make a GET request to '/admin/products.json' with a query how will shopify respond if it can't find any products that match your query?

Does it just respond with an empty array or does it respond with an error?

 

example:

GET => '/admin/products.json?title=nonexistent`

0 Likes
Shopify Partner
11 0 0

Yes i guess it would report back with mull

0 Likes