Publish offer results in error 25021: Must specify item condition
Hello,
since the last week, the calling of the publishOffer endpoint fails with
":[{"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..."
Since nothing changed in our workflow, I suppose something changed in ebay. I currently send the condition information in the createOrReplaceInventoryItem, and this is the json I send:
{
"availability": {
"shipToLocationAvailability": {
"quantity": 531
}
},
"condition": "NEW",
"product": {
"description": "My item description",
"imageUrls": [
"https://www.myurl.it/Images/products/myitem.jpg"
],
"title": "My Item title",
"ean": [
"Non applicabile"
],
"aspects": {
"Tipo": [
"My Type"
]
},
"brand": "Brand",
"mpn": "MyMPN"
}
What am I missing? As said the same json sent was correctly accepted (and published) since at least last year, so I have no ideas on what is wrong here.
Thank you in advance
lotusezio
Posted 3 years ago·Last reply 3 years ago
1 comment
developer_support@ebay
Hi @lotusezio
Please make sure you are using the valid item condition for the category when listing the item. To see which item condition values that a particular eBay category supports, use the getItemConditionPolicies method of the Metadata API.
To see more about Item condition ID and name values, please have a look here.