question

xergia avatar image
0 Likes"
xergia asked

Relisting items results in duplicate items

We originally listed our items using Turbolister. After the initial listing, we use the API to handle our items: end them when out of stock, update prices, relist when back in stock, etc. When I relist an item, I use RelistFixedPriceItemCall, code see below. I did read this: https://ebay.custhelp.com/app/answers/detail/a_id/2158/related/1 I do realise that our original listings don't have the inventorytrackingMethod set. So I set it in the code below when relisting the item. But if we relist from this new item, STILL a new item is created. So no matter what I try, new items with a new ItemID are always created, resulting in warnings from Ebay... Anyone has any idea how to solve this??? ApiContext Context = GetApiContext(); RelistFixedPriceItemCall apiCallFixed = new RelistFixedPriceItemCall(Context); ItemType newItem = new ItemType(); //itemToRelist was retrieved using getItem newItem.ItemID = itemToRelist.ItemID; newItem.SKU = itemToRelist.SKU; //Set the price //Set TimeToDispatch newItem.InventoryTrackingMethod = InventoryTrackingMethodCodeType.SKU; apiCallFixed.RelistFixedPriceItem(newItem, new StringCollection()); Thanks Stefan
duplicates
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
$$anonymous$$ avatar image
0 Likes"
$$anonymous$$ Suspended answered
Hello xergia, Since you are using [RelistItem][1] it is expected to create new itemID for each call which ends results is warning, However to remove that you can use [ReviseItem][2]. Regards. [1]: http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/RelistItem.html [2]: http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/ReviseItem.html
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.