Not Able to Get Data based on SKU

Hello Experts,

While fetch of Products based on the field SKU in Shopify we are facing the following challenges,

There is a search API – which works when we directly execute it in the browser and gives the output in JSON format.

mayankjangid_0-1667537373451.png

Output :

But when same API used in postman gives an error “NOT FOUND”

As per the API Documentation provided by Shopify, it is mentioned that a Search query based on any fields is provided for Customers and Gift Cards only.

The search API works in the Postman for Customers

The issue here is we need to search products based on the SKU field and update the details for those products only.

Experts please share your views to get me out from this issue.

Hi @mayankjangid ,

The REST admin API does not support a /search.json path, but have you considered using the GraphQL Admin API instead?

I would recommend trying the ProductConnection, which supports “sku” as a query filter parameter.

Cheers,