Ebay API. Translate - ebay-api

I use ebay API. Products get to the location US siteId = 0, so that everything goes back to English (the category and products).
Searched API for translation in the official documentation, found nothing.
Question: how to get the products and categories in Russian language?

Little old question but..
eBay does not automatically translate its categories according to the siteId.
there are several eBay marketplaces see here
and each has its own categories and its category version (means that some categories found in siteId==0 are not available in other siteId) that can be retrieved via getCategories
then there are "real" translation APIs
but that's another kind of services:
Translaion APIs

Related

Ebay developer API function get_item_aspects_for_category returns only English content

I'm working on eBay Developer API with addItem method, that requires to make an additional call for category aspects by given category ID. My marketplace is Germany and addItem requires me to send aspects with German language but eBay get_item_aspects_for_category returns only English values. I'm sending Accept-Language header as de-DE and X-EBAY-C-MARKETPLACE-ID as EBAY_DE for sure.
What im doing wrong?
For example i have a category id 258017, that returns something like that:
{"aspects":[{"localizedAspectName":"Brand","aspectConstraint":{"aspectDataType":"STRING","itemToAspectCardinality":"SINGLE","aspectMode":"FREE_TEXT","aspectRequired":true,"aspectUsage":"RECOMMENDED","aspectEnabledForVariations":false,"aspectApplicableTo":["PRODUCT"]},"aspectValues":[{"localizedValue":"Unbranded"},{"localizedValue":"+ONE"},{"localizedValue":"10 Strawberry Street"}]}
UPD. Yes (not recommended), content returns in English, but eBay Developer API has Translation API with translate method that works with Deutsch (German) language also and its possible to translate some strings there and then send it to API.
UPD2. Finally Solved. getItemAspectsForCategory has an URI Parameter named category_tree_id that in real is Ebay Site ID of needle MarketPlace. But in docs description of this field doesnt follow site id implementation.
For example, endpoint for EBAY_DE (site id 77) for category 258017 has to be:
https://api.ebay.com/commerce/taxonomy/v1/category_tree/77/get_item_aspects_for_category?category_id=258017

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!

Does ebay API allows to create a listing draft?

I would like to create a listing ebay draft as it is possible to do manually using this flow:
Go to the new listing sell creation page
Choose category id
Put some random data (title, description, etc.)
Close tab
You will see now unfinished draft, when you go to the new listing sell creation page.
Can I do the same thing using eBay api?
The reason of it is that I don't want to implement all functionality of addItem, currently.
eBay API will not allow to create draft listing.
when you call API for creating new listing, API needs all required fields value.
eBay Listing API provide one attribute PrivateListing.it will hide your product for selling.
If PrivateListing is true, designates the listing as private.customer can't see private listing.
eBay Listing API provide one more attribute ScheduleTime.
When you export product in eBay via API you can give ScheduleTime as well, eBay will active product for selling based on ScheduleTime.
You can make product inactive/draft using this alternative way.
http://developer.ebay.com/devzone/xml/docs/Reference/eBay/AddItem.html#AddItem
You can refer above link for eBay API.
As of now, I can confirm eBay does provide the API to create listing draft, though it's in beta at the moment.
POST - /item_draft/
Official doc is here
To my knowledge this cannot be done, since there are some pretty strict constraints around using the addItem API call, and eBay will throw an error if you don't complete the all the required fields. The required fields of addItem are numerous enough that if you could populate these fields, then you are already 90% of the way to completing your listing anyways.
If you are using Selling Manager Pro, you can create product templates which may be a way to accomplish what you are looking for.

eBay API Search by MPN

I am trying to search listings on eBay by MPN via their api.
I stumbled upon this:
https://ebaydts.com/eBayKBDetails?KBid=1723
leading to FindProducts call
It should be able to filter products by MPN by setting ProductID.Type=MPN.
I tried it, but it returns products that are not related to the MPN
http://open.api.ebay.com/shopping?callname=FindProducts&responseencoding=XML&appid=APP_ID&siteid=0&version=829&MaxEntries=20&ProductID.Type=MPN&ProductID.Value=PLEDV1945A
So either i am doing something wrong, or it is returning wrong products.
Does someone know how to get listings by MPN the proper way?
Thank you
I don't know the exact answer to your question (and I haven't searched eBay by MPN before), but know that the FindProducts API call is being deprecated soon, and eBay is expecting people to use a newer API call called findItemsByProduct - docs here.
Also in eBay's newer Finding API family is the API call named findItemsAdvanced which is also worth a shot.

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.