Create Inventory Write-Down
POST/api/inventory/write-downs
Create a write-down draft and calculate its lines. Send only the chosen method's params: percent, unit_cost, nrv {price_source, price_list_id, trailing_days, cost_to_sell_percent, cost_to_sell_per_unit, manual_prices[]} or aging_matrix [{from_days, to_days, percent}]. Requires inventory_write_downs.create.
Required scope:
inventory:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Request
Responses
- 201
- 401
- 403
- 422
- 429
Created
Response Headers
Content-Type
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden
Response Headers
Content-Type
Unprocessable Content
Response Headers
Content-Type
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.