Overview / Stock & supply / Delete a supplier

Delete a supplier

delete https://api.flactrum.com/v1/suppliers/{supplier}

A supplier with purchase orders cannot be deleted; deactivate it instead.

Required scope suppliers.write
Success status204

Parameters

NameInTypeDescription
supplier * 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/suppliers/01m43mzkw81sf36ayjgbhxrxnz' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 204

(empty body)