I am using shopify apis to fetch product's data from my store.
I want to perform search based on product sku and barcode field.
I also referred API reference but was unable to find search api available using sku or barcode field.
Is there any api available to perform search based on product sku or product barcode?
Currently there's no way to accomplish this via the Product API, I'm afraid. I can see how it would be useful though so I'll make a request - but for the time being you'll have to operate with our documented options.
This has been an issue for quite some time. The /admin/products/search.json syntax works when logged into the admin so how much effort could it be to enable?
As far as load on Shopify goes the alternative is to page through all a shop's products or cache the results externally. The external cache is a bit silly for some use cases and paging through all the products is arguably more load on Shopify's servers than just enabling the search end point
Playing around... i just found out to search product vias barcode. We can use https://skippqtest.myshopify.com/admin/products/search.json?query=Barcode Number .
Putting the barcode in the query returned the product with that particular barcode. SImilarly it works for SKU too.