Home
Find the answer to your question
How can I find the condition IDs for a specified category and upload an item with one of the IDs?
Summary
Make a call to GetCategoryFeatures to get the available item condition definition, then pass one of the condition ID in AddItem or ReviseItem call.
Here is a sample based on Java SDK to call GetCategoryFeatures. We specified the category to 63861 on US site:
/* package com.ebay.test; public class AppGetCategoryFeatures {
} |
After run the code, you will see the condition ID definition for this category as:
1000 - New with tags
1500 - New without tags
1750 - New with defects
3000 - Pre-owned
Then pick up one of the condition ID, say "New with tags". So we have to pass condtionID "1000" in the AddItem or ReviseItem Call:
... AddItemCall request = new AddItemCall(createApiContext()); ... request.setItem(item); ... |
Version Info
The code example above was based on the versions specified below:
API Schema Version |
673 |
Java SDK Version |
eBay Java SDK v673 Full Release (for JDK 1.5 and 1.6) |