01On the floor
Each listing shows a short numeric ID and a live left count. That ID is what wallet Buy and the Open API expect — not the slug or display name.
02Via API
GET /open/stock returns prices and counts. Call it before POST /open/buy when you automate, and retry with backoff if a SKU hits empty between check and buy.
Stock endpoints can be tested from API Docs without a key; buy still needs X-API-Key and balance.
03Empty stock
If buy fails for empty stock, wallet charges are not kept — see Delivery & refunds. Switch SKU or wait for restock instead of hammering the same productId.
