DevelopersAPIReferencevendors
Apply default categorization
Re-apply a vendor's default categorization to transactions already booked against it. applyTo decides how far it reaches: empty only fills in transactions…
Authentication
Checking whether you're signed in…
POST
header
Authorization<token>A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.
companyId*stringFormat
uuidvendorId*stringFormat
uuidapplication/json- body
applyTo*stringValue in
"empty""autoAssigned""all"Re-application complete
application/json- response
insertedSlices*integerRange
0 <= valueupdatedSlices*integerRange
0 <= valuecounterTransactionsCreated*integerRange
0 <= valuecurl -X POST 'https://api.saasflow.com/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/vendors/497f6eca-6276-4993-bfeb-53cbbbba6f08/apply-default-categorization' \ -H 'Content-Type: application/json' \ -d '{ "applyTo": "empty"}'Example Response
{ "insertedSlices": 0, "updatedSlices": 0, "counterTransactionsCreated": 0}Apply default categorization preview
Count what re-applying this vendor's default categorization would touch, without changing anything. The three buckets map onto the applyTo choices on the…
Batch delete
Delete many vendors in one call. selection works two ways: mode: "ids" with an explicit list, or mode: "filter" with the same q the list endpoint takes…