What are the steps and APIs To Set All Quantities To Zero, Then Later Set Them Back?
Hello, Which steps do I need to go through in order to set all my listing quantities to zero, then later restore them to how they were? If there is no single global account setting which I can change to do that, then I'm sure this project will take me several weeks/months. Do I have to do something like this: Step 1: Retrieve every listing number. Step 2: Save the list to a file. Step 3: Read through the file line by line, and for each listing number, retrieve the item quantity. Step 4: Append the file, adding the item quantity with each listing number. Step 5: Set each listing's item quantity to zero. I'm using Visual Basic .NET 2010 and all my listings are GTC. Some of my listings are multi-variation, and some are not. Could somebody please point me in the right direction by telling me which API calls I should use for the above eBay steps, and if possible how to handle multi-variation listings? It will save me months of going down the wrong path. Thank you.
Hi @parcel-empire, Thanks for your post. Unfortunately, we do not have that option. However, if you are using LMS, you can send in bunch of files and call ReviseItem family calls to Update the item quantity to 0. Hope this answers your question. Best Regards, eBay Developer Support
Hello @Sree, Thanks for your reply, it got me really started by looking deeply into LMS until I found an [article] that made me realise it's too complicated for my small number of listings. I then discovered FrmReviseItem in the eBay '
VB.NET Samples' project which I've used and adapted the ReviseInventoryStatus call to successfully change the quantity in a standard listing and then in a multi-variation listing. The problem now is, (a) how to programmatically check whether a listing is multi-variation or not? If it's multi-variation, (b) how do I know how many SKUs there are, and (c) retrieve all the SKU names? I'm using the GetSellerList call. Thanks. :
I'm now using `GetSellerList.StartTimeFilter` in a loop to retrieve all listings in batches of 3-month periods. I have it looping back almost a couple of years in total which is very slow and (usually) unnecessary. So, how do I know how far back in time to go? Is there an API function which provides the date of the earliest created listing?