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 URL: https://api.medianfi.com/api/v1
  • URL: https://api.medianfi.com/api/v1/companies/{companyId}/metrics/cac/classifications
  • Auth: HTTP bearer

Query parameters

entityIdstring uuid

Concrete legal entity; defaults to the caller's single authorized entity.

Request body

isSmboolean required
merchantstring
transactionIdstring uuid

Response

The learned or updated entity-scoped vendor rule

successboolean
dataobject

Changes

No recorded changes to this operation across all 1 revision of this API.