Developers Program

Changing the store category for my listed items

Published: April 23 2015, 2:51:00 PMยทUpdated: August 19 2022, 2:27:09 AM

Products

Question

How can I change the store category ID for my active items?

Answer

Detailed Description

Here are the steps for modifying the store categories:

1. If you don't already have your store custom category IDs, make a call to GetStore:
http://developer.ebay.com/devzone/XML/docs/Reference/ebay/GetStore.html

Here is a sample request:

<?xml version="1.0" encoding="utf-8"?>
<GetStoreRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<CategoryStructureOnly>true</CategoryStructureOnly>
<RequesterCredentials>
<eBayAuthToken>*****</eBayAuthToken>
</RequesterCredentials>
</GetStoreRequest>

2. For each item that you need to revise the store category, make a call to ReviseItem:

http://developer.ebay.com/devzone/XML/docs/Reference/ebay/ReviseItem.html



Here is a sample request:

<?xml version="1.0" encoding="utf-8"?>
<ReviseItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<Item>
<ItemID>110040510018</ItemID>
<Storefront>
<StoreCategoryID>14966</StoreCategoryID>
</Storefront>
</Item>
<RequesterCredentials>
<eBayAuthToken>*****</eBayAuthToken>
</RequesterCredentials>
</ReviseItemRequest>

How well did this answer your question?