This seems to be a long-standing issue and really simple feature api users want: LET US SEARCH BY SKU/BARCODE/Metafields/Custom fields. It doesn't matter if they're not forced to be unique, we can deal with that, just give us the ability to filter! It's so basic that even your own employees think it exists, but it doesn't. It's already available through the admin, just make it available through the API. Asking us to keep a DB to keep a mapping of SKU/Barcodes to product IDs and duplicate data when it's all already in your database is just weak.
</end of rant>
Further to my query if I simply post the API call into a browser (e.g. https://mystorename/admin/products/search.json?fields=id,handle,variants&limit=1&query=sku:20307898)... API returns a result and correctly searches and provides the information just fine, however if I try in my console application using my API key, it fails with 501 Not Implemented. Any help?
I did find this comment where some stores are enabled and others are not? The store I am working on is a ShopifyPlus client. https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/api-product-variant-search-183152
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022