Metrics
Record an is/is-not sales & marketing correction
Teaches the CAC tagger whether a vendor is sales & marketing spend for one concrete legal entity. Requires the founder/admin capability (company role admin or owner). Writes an entity-scoped cac_vendor_rule (confidence drifts on repeat corrections) plus a durable append-only audit event. Provide a merchant or a transactionId; the entity resolves from the entityId query parameter or the caller's single authorized entity.
post/companies/{companyId}/metrics/cac/classifications
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
companyId, string uuid required
Query parameters
entityId, string uuid
Concrete legal entity; defaults to the caller's single authorized entity.
Request body
object required
isSm, boolean required
merchant, string
transactionId, string uuid
Response
The learned or updated entity-scoped vendor rule
object required
success, boolean
data, object
Changes
No recorded changes to this operation across all 110 revisions of this API.