11-19-2018 06:00 AM
Here is the API call that I am doing but while the create offer call the listing has been failed. Please check my objects.
var createListing = { 'product': { 'title': 'Case Logic earpiece + " & , -', 'upc': ['805112311071'], 'aspects': {'Brand': ['Case Logic'], 'MPN': ['Does not apply']}, 'epid': '', 'imageUrls': ['https://cdn8.bigcommerce.com/s-cogsnzk9ez/products/3910/images/9051/71ZWznbmc-L._SX569___52032.1542473529.500.750.jpg?c=2'] }, 'condition': 'USED_GOOD', 'packageWeightAndSize': { 'weight': {'value': 12, 'unit': 'OUNCE'}, 'dimensions': {'height': 5, 'length': 5, 'width': 5, 'unit': 'INCH'} }, 'availability': {'shipToLocationAvailability': {'quantity': 1}} }; // Above object has been used to create the listing. // It has been created succfully. var createOffer = { sku: '805112311071GD', marketplaceId: 'EBAY_US', format: 'FIXED_PRICE', listingDescription: '<p>Description</p>', pricingSummary: {price: {value: '29.99', currency: 'USD'}}, listingPolicies: { fulfillmentPolicyId: '130240227023', paymentPolicyId: '83974131023', returnPolicyId: '138457585023' }, categoryId: '112529', merchantLocationKey: 'ebay_inventory_location_46268', tax: {applyTax: true} }; // But while creating the offer. The listing went failed and error occcurs. // The create offer has been failed only while I use the condition `USED_GOOD` for rest of the condition listing has been made successfully. Result: Fail Message: The eBay listing associated with the inventory item, or the unpublished offer has invalid item condition information. The provided condition id is invalid for the selected primary category id. Entire error message is as below : [ { errorId: 25021, domain: 'API_INVENTORY', subdomain: 'Selling', category: 'REQUEST', message: 'The eBay listing associated with the inventory item, or the unpublished offer has invalid item condition information. The provided condition id is invalid for the selected primary category id.' }, Headers: { 'content-length': '303', cneonction: 'close', date: 'Mon, 19 Nov 2018 13:26:20 GMT', rlogid: 't6pitnmsgwj70%3D9iptpitnmsgwj70*1357501%29pqtfwpu%29osu%29fgg%7E-fij-1672c268017-0x64b0e', 'set-cookie': [ 'ebay=%5Esbf%3D%23%5E;Domain=.ebay.com;Path=/' ], 'x-ebay-c-request-id': 'ri=L6gqyb52GHBC,rci=2o4QE%2BPDsibTIk4i', 'x-ebay-c-version': '1.0.0', 'x-ebay-client-tls-version': 'CLIENT.SSL.VERSION+", "+CLIENT.IP.SRC', 'x-ebay-request-id': '1672c268007.ad4a45c.1ed59.fc9cc048![UserLookupClient[!lookup.publicUserId!10.166.102.128!r1userinfo[]]!SISClient[!offerid.publish_offer_POST!10.173.106.244!r1slrinvsvc[]]]', 'content-type': 'application/json', connection: 'keep-**bleep**' }, StatusCode: 400 ]
11-19-2018 11:46 AM - last edited on 11-19-2018 02:26 PM by Anonymous
I poked around, and my take on it is that USED_GOOD is NOT a valid condition for that category
112529,"Consumer Electronics > Portable Audio & Headphones > Headphones"
I could be wrong, or maybe it used to be valid before the catalog rollout, but from looking here:
https://developer.ebay.com/api-docs/sell/inventory/types/slr:ConditionEnum
and here:
https://www.ebay.com/help/selling/listings/creating-managing-listings/item-conditions-category?id=47...
it looks like USED_GOOD might only be valid in DVDs & Movies, Music, Video Games, and Books.
11-19-2018 12:21 PM
Thanks for the info! On Electronics it simply reccomends "Used" do you know which Enumeration should be used in this case to create a "Used" listing? This is stange as the listings go through no problem via Ebays user interface.
11-19-2018 03:54 PM
For info about the various eBay APIs, you might ask on the DeveloperZone forums - https://forums.developer.ebay.com/
11-19-2018 06:09 PM
11-19-2018 07:54 PM
It appears that eBay may want a number for the condition. The value for "Used" is 3000. The meaning of the numbers can be found here:
https://developer.ebay.com/devzone/finding/callref/Enums/conditionIdList.html#ConditionIDValues
Welcome to the Seller Tools board! You can chat with other members about seller tools and best practices in using them.
Tools related questions? Learn more about:
Videos: