Inventory API out of stock

How can i manage an item’s stock without tracking the specific count, essentially treating the stock status as a binary state: either “in stock” or “sold”?
When i use the batch change API it requires a quantity and then automatically starts counting down after each sale which doesn’t work for us.
Is there any way to simply toggle between in stock and sold through the APIs just as we do on the POS app?

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Monitor Sold-out Item Variations or Modifiers
Build and Manage a Simple Inventory

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

With the Catalog API you can monitor the status of the item variations from when sold_out is either true or false. For more please see our Monitor Sold-out Item Variations or Modifiers documentation. :slightly_smiling_face: