Count orders per filter preset
Returns the number of orders matching each active preset's filter, keyed by preset id. Powers the stat cards on the orders page. Clinics are counted against the fixed built-in set.
Returns the number of orders matching each active preset's filter, keyed by preset id. Powers the stat cards on the orders page. Clinics are counted against the fixed built-in set.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Response Body
application/json
curl -X GET "https://example.com/order-filter-presets/counts"{ "counts": { "property1": 0, "property2": 0 }}Delete an order filter preset DELETE
Previous Page
List order filter presets GET
Returns the organization's order filter presets, ordered by display position. Lab presets are persisted and editable, initialized during organization creation or by the explicit settings-defaults command. Clinics always receive the fixed built-in set.