question

turnkeypro avatar image
turnkeypro asked Jonathan Ryan Grice answered

Easy Removal of ITems from Inventory?

Hi! I do technical support for Clover, and there's times where a merchant wants a new inventory uploaded, or when I'm using my inventory on a demo account. Is there or will there be a way to 'purge' an inventory with one click? Items aren't always necessarily an issue unless the inventory is on the larger scale, but if the merchant has a large number of mods/categories it can make it tedious.

Thanks!
Inventory
10 |2000

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

1 Answer

Jonathan Ryan Grice avatar image
Jonathan Ryan Grice answered
You could create a hosted script or app that gathers the item ids, categories, etc and use the "DELETE" method with the Clover WebAPI. The only boundary you may have is the max length of a URL.
You would have to send multiple Delete methods for each part of a merchant's inventory, items, categories, taxes, tags, etc.
Reference the WebAPI Documentation.
10 |2000

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

Welcome to the
Clover Developer Community