ebay_move_store_category
Move a custom eBay Store category under a new parent, then poll the returned task ID until eBay completes the change.
Instructions
Move one custom eBay Store category under a new parent (Stores API moveStoreCategory). Pass categoryId, destinationParentCategoryId (-999 for top level), and listingDestinationCategoryId when a leaf category with listings stops being a leaf. 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 |
|---|---|---|---|
| categoryId | Yes | eBay Store custom category ID from ebay_get_store_categories (not an eBay marketplace category ID) | |
| destinationParentCategoryId | Yes | New parent store category ID; pass -999 to move the category to the top level | |
| listingDestinationCategoryId | No | Needed only when the moved leaf category has listings and stops being a leaf; its listings move to this store category |