Overview / Stock & supply / Delete a stock item

Delete a stock item

delete https://api.flactrum.com/v1/stock-items/{item}

An item with movements cannot be deleted; past stock records would stop making sense. Deactivate it instead.

Required scope stock_items.write
Success status204

Parameters

NameInTypeDescription
item * path string ULID of the record.

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X DELETE 'https://api.flactrum.com/v1/stock-items/01m43mzhyf9w2t1ankf0bjcns2' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 204

(empty body)