Seller update stock
seller_update_stockUpdate a listing's stock count by setting an absolute value or applying a relative change, while ensuring the new count does not fall below reserved stock.
Instructions
Update a listing's stock count. Pass stock for an absolute value or delta for a relative change. Resulting stock must remain >= reserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delta | No | Signed adjustment applied to current stock (e.g. -2). Result cannot go below reserved stock. | |
| stock | No | Absolute new stock level in units. Provide either stock or delta, not both. | |
| product_id | Yes | UUID of the listing whose stock to change. |