Overview / Stock & supply / Delete a purchase unit

Delete a purchase unit

delete https://api.flactrum.com/v1/purchase-units/{unit}
Required scope stock_items.write
Success status204

Parameters

NameInTypeDescription
unit * 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/purchase-units/01m43mzja1k4w55y65vv27ns9v' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 204

(empty body)