Bigcommerce API Get All Skus - bigcommerce

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.

Related

Is it possible to use GetSellerList to get all the items listed by a different seller?

I am looking for a way to get all the items listed by a different seller. While this is possible to do through the eBay Browse API, there is a delay of a few minutes from when a seller lists an item to when it is visible in the eBay search.
As such, I am looking for a method to return all the items a particular seller (that is not me) has listed that will return the most up to date results.
I have found the https://developer.ebay.com/devzone/xml/docs/reference/ebay/GetSellerList.html method, but I am not certain if it is possible to use it on other sellers. Can I use this method or is there another method that can achieve the required functionality
under the title of the linked url it is written:
Use this call to retrieve items listed by the authenticated user, including item data.
therefore it is clearly not possibile
you could use finding API setting in the filter the username of the seller and get the list of (almost) all the item sold by such seller with few details:
if you need full details then you need to call getItem for each itemID retrieved by finding API
but since eBay released some years ago new APis, if you have to start a new project it can be wise not using the old trading APIs (and also Finding??) that though not deprecated yet, they might be soon

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

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.

VirtoCommerce API getting item prices

I am using VirtoCommerce 2.9 and have some questions regarding the API and what would be the best way to get all the information I need, while keeping the number of API requests down.
Right now I am using the endpoint /api/catalog/search to find items that matches a number of attributes. But the response does not include prices and product texts. Both I would like to present to the end user. What would be the correct or best way to retrieve this information?
Thanks!
Cheers!
Currently search service does not return the description and price for the products.
To get this details you need to use separate queries
api/catalog/product/ids?respGroup='ItemSmall'
to get product detail with description and
api/pricing/evaluate
to retrieve actual products prices. You can call them in parallel for better performance.
Be aware to use WithProperties response group because it may cause
perfomance problem. Anyway product returned with all properties values
and this 'response group' is only responsible for retrieving properties meta-information
(as possible dictionary values, multilingual, required or optional flag etc) this information often used in admin area and in storefront almost not used.
Indexed search module will be serious changed in future versions, and you will be able to have more control over the product details in the search index.

Ebay API - How do I get item info for out of stock items

I'm trying to get item information by searching my ebay store. For example, if I enter this URL, it will search my store for a specific keyword and return info about the item.
http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByKeywords&SECURITY-APPNAME=MYAPPID&keywords=MYKEYWORD&itemFilter.name=Seller&itemFilter.value=MYEBAYUSERNAME
However, if an item's quantity goes to zero, the item is no longer visible in my ebay store and therefore, won't show any data. How can I get data for all items, even if they are out of stock?
Please note: the data I need to get is the ebay auction number (itemID)
Thank you.
If you are listing using the API then "custom label" on the front end of eBay is actually the SKU node in the API. Here is a list of API calls that utilize this node: <SKU>
So if you want to pull one item at a time, all you need to do is use is use the GetItem trading API request. Instead of passing in <ItemID>(string)</ItemID> pass in <SKU>(string)</SKU>, and you will get the ItemID in the return output xml.
But, this is if you want to pull each item one at a time. There is a limit on how many API calls you can make a day.
So, I would suggest using GetMyeBaySelling every so often to download all of your items and store the output to a database. The output for GetMyeBaySelling includes <ItemID>(string)</ItemID> and your custom label as <SKU>(string)</SKU>.
At this point you can write a little front-end WebPage or APP to pull the data you want from the database.

eBay API - filter items by store/custom categories

My scenario: I have a client with an eBay store with custom categories. On their website, they would like to list the items they have for sale. They would like this list to be filterable by custom category.
I've been searching for a couple days now, and I'm still a bit unsure about the best way to proceed.
From what I can gather, the only way to get a list of categories defined in a store is through the GetStore call in the Trading API. This seems to be supported, though I need to get a user token from my client's eBay account. I will assume this works.
I do not, however, see any method of filtering items based on custom categories. I've looked through the documentation of both the Trading and Finding APIs, but all I see are filters on pre-defined eBay categories.
Is it possible to filter on custom/store categories?
I had a task to link seller products to custom categories and the only way I found is to retrieve a list of custom categories with "GetStore" from Trading API, retrieve all seller items with "findItemsAdvanced" call form Finding API, and loop through all retrieved items and get details with "GetItem" call from Trading API.
After that I could find custom categories under $xml->Item->Storefront->StoreCategoryID and $xml->Item->Storefront->StoreCategory2ID.
After digging through and posting in the eBay forums, I found out that no, it is not possible to filter on custom/store defined categories via the API. The only way to filter on custom/store defined categories is on the eBay hosted store.
This is apparently eBay's way to make the store hosted on their site more feature rich than anything you can do via the API.
Even though this question is old, I believe it interesting to give a more recent answer. As stated above, you cannot directly filter items sold by a store using custom store categories (StoreCategoryID). The easiest way to work around this is using the GetSellerList API using a coarse granularity level, which allows you to get the storeCategoryID of each Item on sale within a starting time range or an end time range. You can then filter the items yourself. Here's a link to a forum answer: https://ebay.custhelp.com/app/answers/detail/a_id/1178
Yes no way to get items by Custom categories.
It sounds like either getCategoryInfo or GetCategories might help you.