ebay_add_store_category
Add a custom category to an eBay Store. Supply a name and optional parent, then poll the returned task until it completes, since only one store change can run at a time.
Instructions
Add one custom category to the eBay Store (Stores API addStoreCategory). Pass categoryName and optionally destinationParentCategoryId (omit or -999 for top level) and listingDestinationCategoryId. Asynchronous: eBay accepts the change and returns { taskId, location } from the Location header; poll ebay_get_store_task with taskId (or ebay_get_store_tasks) until the task is COMPLETED or FAILED. Only one store category change (add, rename, move, or delete) can be in flight at a time; eBay rejects a new change until the previous task finishes. Requires an active eBay Store subscription (sell.stores scope).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categoryName | Yes | Seller-specified store category name (max 35 characters); cannot be empty or 'Other' | |
| destinationParentCategoryId | No | Parent store category ID; omit or pass the string "-999" to add a top-level category | |
| listingDestinationCategoryId | No | When the parent is a leaf category with active listings, moves them to this store category; omitted, the new category inherits them |