settings_inventory
Set how the shop counts stock. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trackInventory | No | What "Track quantity" starts switched to on a new product. Off means new products are created uncounted and always available. | |
| backorderPolicy | No | deny: sold out at zero. allow: keeps selling past zero silently, the count goes negative. allow_notify: sells past zero and the product page says "Available on backorder". | |
| lowStockThreshold | No | The count at or under which the storefront says how few are left. 0 to 1000; 0 never says it. |