Need to modify Shopify products API BY Shopify team then return back to me - shopify

It is necessary to modify Shopify products API as per my client requirement.
For example the below products API is available in Shopify API reference document.
GET /admin/products.json
I am able to get list of products from above API. But i want to filter products based on price by sending price as input parameter and get related products as a response.
For that post API is needed. Do shopify team provide Products API for filtering products by sending input parameter as that is not available in API reference?
Kindly give me the information. Thanks in advance

No, there is no way to filter on a price range using /admin/products.json. You can page through all of the products, 250 at a time, and find the products that meet your criteria that way.

Related

is there any way to query Admitad API Products Feed?

We are developing a client project where we need to advertise products through affiliate marketing on client's website. Admitad is a popular affiliate network so we chose to go with that. We have joined with Myntra in an affiliate program.
There is an API to receive products feed of the advertiser company. We are getting about 1.5 million products in return from Myntra. But problem is we cannot query the data based on any category on the API. We simply cannot pass any parameter to query the product feed.
There is category id and category name provided to each of the product. We only want to receive products in the category of footwear, say 'shoes', 'sandals', 'flip-flop'.
But it seems we cannot query API.
I have even tried to contact support also, but it has been of no use.
So if anyone has worked with Admitad APIs or know this situation, please help!
Thanks in advance!

Shopify - get price, stock on hand hand in realtime from external database

My company would like to sell products through the Shopify Platform, but be they want to be able to get their prices and stock levels from an external data base. We have developers that know how to create an API, but we do not quite understand how to set up a private app to do this.
For instance, we want to make an ajax call to this endpoint www.{ourDomain}/shopify/getPrice.html?Part=UserRequestedPart and the endpoint would return some JSON or XML data which I would expect to parse and display in Shopify.
Create a private app with write_products and write_inventory scopes.
Access your endpoint to get current prices/inventory from your external database.
Update Shopify product prices/inventory using Shopify API.
Use Product Variant to update prices.
Use Inventory Level endpoint to update the quantity.
More details can be found here: Shopify Admin API

Shopify Product images of an order items

I want to show the images of products in an order for the plugin I'm developing. But with the response returned for orders(from shopify admin API), in it line_items doesn't contain a product object or any other object that have the link for shopify cdn link of a product image, but the product id.
What I'm planning now is to call the admin api again with product id to get images which looks costly as I have to do it to all the items in an order and do that for all orders.
My question is whether any other way to derive the cdn link for product image given the product id or what could be the best approach for this?
Thanks in advance.
Let check the shopify Product API Docs. You can get a list of products by Product API, which is not costly.
Get a list of specific products
GET /admin/products.json?ids=632910392,921728736

Bigcommerce API Get All Skus

I'm trying to load all Skus from a Bigcommerce store. I first tried to use the API path /products/skus/count to get a count of the number of skus in the store as outlined in the BC documentation at https://developer.bigcommerce.com/api/stores/v2/products/skus However, the /products/skus/count endpoint is returning {"count":0}. I know for a fact that I have hundreds of products with a sku. Ultimately I'd like to get a list or array of just the skus in my store. Has anyone else been able to use this API or know a way to load all the skus in my store without loading all the product object graphs as that is too slow of a solution as I don't need all the additional information nor do I want to page through all my products since it's limited to 250 items at a time. All of my other API calls are working great so I'm questioning whether there is an issue with the specific API.
Are you try to get the "sku" property for all products or the SKU resource associated with a product?
The api call at the url that you've given https://developer.bigcommerce.com/api/stores/v2/products/skus
will return all the SKU resource/object associated with a product. You can either get skus for all products using the resource "products/skus/count" or a specific product using "products/{productid}/skus/count". Both calls works as documented.

BigCommerce API v2 Product Add with SKU

We are trying to implement the v2 API in BigCommerce to be able to add products to BigCommerce from our system.
It seems that you cannot set the Product SKU field when adding a product. This makes the product API totally meaningless. Is this by design?
How are we supposed to know if a product is already added if it does not have a SKU? SKU should be updateable for ADD product case, it can be ready only for UPDATE product case. I think this is a serious bug in the API.
https://developer.bigcommerce.com/api/stores/v2/products#create-product
Please advise how to add product with API with SKU.
If you look at the API documentation for the SKU resource under Create Product, https://developer.bigcommerce.com/api/stores/v2/products/skus#create-product-sku, you will see that you first have to add the base SKU or the parent and then the options, or Skus. The call to add the Sku must contain the parent product ID, POST /api/v2/products/{product_id}/skus. You cannot do it in one API call to my knowledge