question

prolabgr avatar image
0 Likes"
prolabgr asked

revised get_item_aspects_for_category troubles

Hello, revised beta taxonomy api get_item_aspects_for_category *always* returns aspects in english language, that is useless in other markets. Moreover, some aspect that is requierd is returned as optional, so CreateOffer fails. E.G. commerce/taxonomy/v1_beta/category_tree/0/get_item_aspects_for_category?category_id=43513 returns { "localizedAspectName": "Features", "aspectConstraint": { "aspectDataType": "STRING", "itemToAspectCardinality": "MULTI", "aspectMode": "FREE_TEXT", "aspectRequired": false, "aspectUsage": "RECOMMENDED", "aspectEnabledForVariations": true }, but Features is required and CreateOffer fails if not specified. Regards
languageget_item_aspects_for_category
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jitendra_developersupport avatar image
0 Likes"
jitendra_developersupport answered

Hi @prolabgr, This API call do support only English language at this moment. You can not get response in any other language, however you can use our Translation API for translating the text. Please take a look https://developer.ebay.com/api-docs/commerce/translation/resources/language/methods/translate

Regards,

eBay Developers Support

10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

prolabgr avatar image
0 Likes"
prolabgr answered
Thank you @jitendra_developersupport , I'll try that way. Regards
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

prolabgr avatar image
0 Likes"
prolabgr answered

Hi, any news about answer in localized language ?
In 2020 we reverted back to GetCategorySpecifics, but it's decommissioning will force us to use Taxonomy API with the use of a lot of extra calls to Translation API (still beta and very low quota).

10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

prolabgr avatar image
0 Likes"
prolabgr answered

Moreover, calling translation api using request payload
{
"from":"en",
"to":"it",
"text":["Brand"],
"translationContext":"ITEM_DESCRIPTION"
}
return me error 500, with errorId 110000

10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.