question

newtrendbeautysupply avatar image
0 Likes"
newtrendbeautysupply asked

where to find category specific format of item

Hello,
Its seems that each category have different format of required fields.

Where can we find in API to get all the required parameters to create iiem for a specific category.

for example i have this categoryID - 183443

what are the required and mandatory data to be sent for this categoryID to create a new item.

inventoryapicategoryspecificsfileinfo
10 |600 characters needed characters left characters exceeded

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

adonialtd avatar image
0 Likes"
adonialtd answered

To automatically create an new Item to my eBay account, I've used this documentation: https://developer.ebay.com/docs#sell


Then:
- createOrReplacedIventoryItem call (https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/createOrReplaceInventoryItem)

- createOffer call (https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/createOffer) (for initialization)

- updateOffer call (https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/updateOffer)

- publishOffer call (https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/publishOffer)

- I've find all categories ID here
https://www.isoldwhat.com/?1=1&wv=currentcats&RootID=26395#26395

You have to respect the structure and use all "mandatory parameters" you see from theses documentation.

10 |600 characters needed characters left characters exceeded

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

sanjiv_developersupport avatar image
0 Likes"
sanjiv_developersupport answered

Hi @newtrendbeautysupply,

To get the latest VariationSpecifics/Aspects for a category, please use the GetItemAspectsForCategory call of taxonomy API.
Ref: https://developer.ebay.com/api-docs/commerce/taxonomy/resources/category_tree/methods/getItemAspectsForCategory

Sample Request URL:
https://api.ebay.com/commerce/taxonomy/v1/category_tree/0/get_item_aspects_for_category?category_id=257979

For getting the all of the latest and supported category hierarchy for a eBay marketplace, please follow the steps mentioned below

1. Firstly, you need to call GetDefaultCategoryTreeId to retrieve a reference to the default category tree associated with the specified eBay marketplace ID.
Ref:https://developer.ebay.com/api-docs/commerce/taxonomy/resources/category_tree/methods/getDefaultCategoryTreeId

2. After getting the category_tree_id make a GetCategoryTree call to retrieve the complete category tree that is identified by the category_tree_id parameter.
Ref: https://developer.ebay.com/api-docs/commerce/taxonomy/resources/category_tree/methods/getCategoryTree

3. Make GetItemAspectsForCategory call for the category to get the latest VariationSpecifics/Aspects.To learn more about the category tree structure, please take an overview of the Taxonomy API by going through the link given below:
Ref: https://developer.ebay.com/api-docs/commerce/taxonomy/static/overview.html


Best regards,
eBay Developer Support

10 |600 characters needed characters left characters exceeded

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.