Skip to content
Bloomcount API
Esc
navigateopen⌘Jpreview

Delete a price list

Deletes the list; its entries purge in the background rather than inline, so a list holding thousands of prices deletes without hitting a write limit.

An event that loses its price list falls back to default rates silently, so this refuses with 409 price_list_in_use:<count> while any event points at the list as its flower, materials or hire list. ?force=true deletes it anyway.

DELETE/api/v1/price-lists/{id}
Authorization
AuthorizationBearer token (bloomcount_...) · headerrequired
Path parameters
idstringrequired
Query parameters
forceboolean
Delete even when the cascade reaches beyond this resource.
default: false
Responses
200Deleted
deletedbooleanrequired
401Missing or invalid API key, or revoked / expired.
errorstringrequired
403Authenticated, but the key lacks the required scope or the tenant has no API access.
errorstringrequired
404The requested resource doesn't exist or belongs to a different tenant.
errorstringrequired
409The resource is still referenced, and deleting it would take other rows with it. The error names what and how many, for example price_list_in_use:3. Retry with force=true to delete anyway.
errorstringrequired
422Request body or arguments failed validation.
errorstringrequired
429Per-minute rate limit (60/min) or per-month cap exceeded.
errorstringrequired
Try it
Server
Authorization
Parameters
Request
curl -X DELETE "https://app.bloomcount.com/api/v1/price-lists/pl_9k2m4n6p8q1r3s5t7v9w2x4y" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "deleted": true
}