eBay CategoryID and File Exchange: What It Is and How to Set It
Understand what the eBay CategoryID field is, why it's required in File Exchange uploads, how to find the right category ID for your products, and how to fill it in bulk across your catalog.
- ✓What the eBay CategoryID column represents in File Exchange CSV files
- ✓Why a missing or incorrect CategoryID causes listing failures
- ✓How to find the correct CategoryID for your product type
- ✓How to fill CategoryID across hundreds of rows efficiently
- ✓Tips for verifying category selection before uploading
Ready to fix your CSV? Upload it for instant validation and auto-fixes.
Open CSV FixerWhat Is CategoryID?
The Category column (or CategoryID depending on the File Exchange template version) in eBay's bulk listing CSV is a numeric identifier for the eBay product category your item belongs to. Every active listing on eBay must be assigned to a category, and eBay uses this ID to determine:
- Where your listing appears in category browsing.
- Which item specifics (required fields) apply to your listing.
- Which buyer searches surface your item.
A missing or incorrect CategoryID is one of the most common reasons eBay File Exchange uploads fail entirely or produce listings with incomplete item specifics.
CategoryID vs Category Path
The CSV requires a number (the CategoryID), not the human-readable category path. For example:
| Category path | CategoryID |
|---|---|
| Clothing, Shoes & Accessories > Men > Men's Clothing > Shirts > T-Shirts | 15687 |
| Cameras & Photo > Digital Cameras | 31388 |
| Health & Beauty > Vitamins & Dietary Supplements | 180959 |
You cannot use the path text in the CSV. It must be the numeric ID.
Why CategoryID Matters for Item Specifics
eBay's item specifics system (Brand, Size, Color, Material, etc.) is category-dependent. Selecting the wrong category means:
- Required item specifics for the correct category won't be prompted or validated.
- Your listing may be suppressed in search results if mandatory specifics are missing.
- Buyers filtering by item specifics in your category won't find your listing.
Always assign the most specific category possible (the deepest leaf category that accurately describes your product), not a broad parent category.
How to Find the Right CategoryID
Method 1: eBay's Category Suggestions (Seller Hub)
- In eBay Seller Hub, create a draft listing manually for one of your products.
- In the "Category" step, use the search box to find your product type.
- eBay suggests categories based on your keywords.
- Select the most specific matching category.
- Note the category name and use it to look up the ID with one of the methods below.
Method 2: eBay's Category ID Reference
eBay's Seller Hub Reports help links a category name and ID reference for bulk uploads:
- Go to Seller Hub → Reports → Uploads and open the help for the upload templates.
- Find the category name and ID reference and look up your product type.
- Developers can also get the full category tree from eBay's APIs (for example the Taxonomy API).
Method 3: Look at a Successful Listing URL
If you have an existing listing or a competitor's listing in the same category:
- Open the category page on eBay (click the category name in the breadcrumb above a listing).
- Category pages have URLs like
https://www.ebay.com/b/Levis-Mens-Jeans/11483/bn_700176. - The number after the category name (
11483, Men's Jeans) is the category ID.
Method 4: Download a Category Template
In Seller Hub → Reports → Uploads, eBay lets you download a listing template for a specific category. The category ID you pick there is the one to use in your file.
CategoryID in the File Exchange CSV
The column is *Category in eBay's listing templates (the asterisk marks a required column) and Category ID in the drafts template.
| 1 | *Action(SiteID=US|Country=US|Currency=USD|Version=1193) | *Title | *Category | *StartPrice | ... |
|---|---|---|---|---|---|
| 2 | Add | Men's Blue Cotton T-Shirt | 15687 | 19.99 | ... |
| 3 | Add | Men's Slim Fit Jeans | 11483 | 45.00 | ... |
Rules:
- The value must be a positive integer matching a valid eBay leaf category.
- Parent/intermediate categories are generally not accepted. Use the most specific (deepest) category.
- The category must be valid for your eBay site (US categories differ from UK, DE, AU, etc.).
Filling CategoryID in Bulk
For large catalogs where most products fall into a few categories:
In Excel: Use IF or VLOOKUP to assign categories
If you have a helper column with a product type code:
=IF(B2="T-Shirts", 15687, IF(B2="Jeans", 11483, ""))
Or build a reference table (product type → CategoryID) and use VLOOKUP:
=VLOOKUP(B2, CategoryTable!$A:$B, 2, FALSE)
In Excel: Fill down for same-category groups
- Sort your product list by product type.
- Enter the CategoryID for the first product in each group.
- Select from that cell to the last product in the group.
- Ctrl+D to fill down.
Using a filter
- Filter your catalog by product type column.
- Select all visible cells in the CategoryID column.
- Type the CategoryID and press Ctrl+Enter to fill all selected cells at once.
Verifying CategoryID Before Upload
A wrong CategoryID creates listings in the wrong category. It's a common mistake and hard to catch:
- Spot check: Take 5 CategoryID values from your CSV and look them up on eBay to confirm they map to the expected category path.
- Check against your product type reference: Maintain a simple table of product type → CategoryID and review it when adding new product types.
- Test upload: Upload a 1–3 row test file first. View the resulting listings and confirm they appear in the correct category.
- Review eBay's results file: After every upload, the Uploads page in Seller Hub Reports has a results file. Review it for any row-level errors related to invalid category IDs.
Common Errors
| Error message | Likely cause |
|---|---|
| "Category is required" | CategoryID column is blank |
| "Invalid category" | ID is not a valid eBay leaf category |
| "Category not allowed for this listing type" | Fixed-price vs auction category restriction |
| Item specifics errors after upload | Wrong category, so the specifics don't match your items |
Upload your CSV to StriveFormats for instant validation, auto-fixes, and a clean export.

