Product SKU search

yashrastogi2020
New Member
22 0 0

Hello All,

 

I am trying search product using SKU through admin api but did't get any api end points to do so. Can anyone please suggest if there's any way to get listed product using SKU..

0 Likes
Wahab_Ahmad
Shopify Partner
696 110 162

Hello @yashrastogi2020,

                                                   Visit this link

https://shopify.dev/docs/admin-api/rest/reference/products/product

 

I hope you will find your required results

 

Regards,

Wahab_Ahmad

 

Kindly mark my post as like and accept solution 

yashrastogi2020
New Member
22 0 0

Hello @Wahab_Ahmad,

 

Thanks for the quick reply..
I already explored the shopify admin api documentation but did not found any end point to search specific product using SKU. The only way to filter result is using title, id, product_type, vendor etc but not using SKU. 

 

Regard,

Yash

0 Likes
Wahab_Ahmad
Shopify Partner
696 110 162

Hello @yashrastogi2020,

 

Try this

https://[Your store link]/admin/products/search.json?query=sku:[Your SKU id] 

0 Likes
sanjeevkamboj
New Member
1 0 0

Hi ,
  I Try to export product by sku using custom script like API .

  I run the link in browser working fine but not working under Postmen pls suggest any solutions  .

sanjeevkamboj_0-1604474015840.png

Under postmen "

{
    "errors""Not Found"
}

"

sanjeevkamboj_1-1604474373754.png

 

0 Likes
policenauts
Trailblazer
169 8 28

@sanjeevkamboj try clicking on 'cookies' in Postman and deleting all the cookies for Shopify and try again.

0 Likes
Greg_Kujawa
Shopify Partner
1016 83 225

@sanjeevkamboj I'd also recommend editing one post that includes the screen shot. You've listed your Shopify shop's API credentials in that Postman URL, which isn't the best idea!

0 Likes