Skip to main content
PUT
Set the low-stock threshold for an item

Authorizations

Authorization
string
header
required

API keys are minted in the AutoPrintFarm web app under Settings → API Keys. Send as Authorization: Bearer apf_live_.... Keys are shown exactly once at creation and can be revoked at any time.

Path Parameters

id
string
required

Finished-good row id.

Body

application/json
low_stock_threshold
integer
required

New alert threshold (non-negative integer). The item's status is recomputed against ready_stock and quantity_needs_assembly.

Required range: x >= 0

Response

Threshold updated

success
enum<boolean>
required
Available options:
true
data
object
required