question

rjd-ca avatar image
0 Likes"
rjd-ca asked

How can I provide Item Specifics for a listing using the new Sell API?

I am setting aspects and specifications for inventory items and inventory item groups yet the only Item Specific being set is Condition. How can I specify additional fields for this section using the new Sell API?' Desired look: https://developer.ebay.com/devzone/guides/ebayfeatures/Development/ItemSpecifics-CatalogDetails.html Example sandbox listing: http://cgi.sandbox.ebay.com/ws/eBayISAPI.dll?ViewItem&item=110190443813&var=&ssPageName=STRK:MEUSX:IT&_trksid=p3984.m1562.l2649#ht_1160wt_1156
inventory apilistingspecifics
10 |600

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

1 Answer

·
zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered
Hi rjd-ca, As the sandbox Item is listed 110190443813 on categoryId 97034, I called Trading [GetCategoryFeatures][1] API to find out if the category [supports/requires Product Identifiers][2] and called Trading [GetCategorySpecifics][3] API to to get recommended item specifics that can be used in **product.aspects** container for '**Create Inventory item**' API request for the category . ( see the attached files for [GetCategoryFeatures request/response][4]and [GetCategorySpecifics request/response][5]) Below is a sample '**Create Inventory Item**' request including aspects (Item Specifics) for the categoryId of interest: (NOTE. that some of the data showing below is taken from the sandbox ItemID 110190443813) https://api.sandbox.ebay.com/sell/inventory/v1/inventory_item/{SKU} { "availability": { "shipToLocationAvailability": { "quantity": 3 } }, "condition": "NEW", "product": { "title": "SDC Nutrition About Time Protein Pancake Mix", "description": "Healthy Breakfast. No Additives or Preservatives. Gluten Free. 21g Protein. 290 Calories. 6g Fiber. Be creative with your breakfast! Add milk to the dry pancake mix instead of water. try adding nuts, bananas, blueberries or any other of your favorites to the batter for added crunch and flavor! Don't forget the toppings – our pancakes do taste amazing with original maple syrup, but you can also use honey, yogurt, agave, peanut butter or even chocolate!", "aspects": { "Brand": ["SDC Nutrition /About Time"], "Formulation" : ["Powder"], "Expiration Date" : ["At Least One Year From Today's Date"], "Country/Region of Manufacture" : ["United States"], "Activity" : ["Gym & Training"] }, "upc":["837654315118"], "imageUrls": [ " https://www.europasports.com/media/catalog/500/837654315118.jpg", " https://www.europasports.com/media/catalog/500/837654315118.jpg" ] } } You can check the sandbox listing: http://cgi.sandbox.ebay.com/110196556146#ht_500wt_1156 of the inventory. Best Regards, [1]: http://developer.ebay.com/Devzone/XML/docs/Reference/eBay/GetCategoryFeatures.html [2]: http://developer.ebay.com/Devzone/XML/docs/Reference/eBay/types/FeatureIDCodeType.html [3]: http://developer.ebay.com/Devzone/XML/docs/Reference/eBay/GetCategorySpecifics.html [4]: /storage/temp/ 1315-getcategoryfeatures-categoryid-97034.txt [5]: /storage/temp/ 1316-getcategoryspecifics-categoryid-97034.txt

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.