Overview / Catalog / Delete a category

Delete a category

delete https://api.flactrum.com/v1/product-categories/{category}

A category that still holds products cannot be deleted; the products would vanish from the menu. Move them first.

Required scope categories.write
Success status204

Parameters

NameInTypeDescription
category * 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/product-categories/01m43mxnx6zj6kjqekc1keygkj' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 204

(empty body)