Read learned merchant rules for an assigned customer
#2383 read route for the bookkeeping service token. Lists every rule that can categorize this customer's transactions: its company rules first, then the global rules, paged (follow meta.nextCursor while meta.hasMore is true; scope=company or scope=global narrows it). The last page also carries the built-in rules for well-known merchants (#3039): read-only rows with an id of the form global-vocab:<pattern>, scope global and builtIn true, all of them, and none for scope=company. So the rule a transaction records (GET .../transactions/{transactionId}/merchant-rule) is always in this list. Does not create or update a rule. Assignment is required; an unassigned company is forbidden.
Request
- Base URLhttps://api.medianfi.com/api/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key
Path parameters
Response
Success envelope of merchant rules for this customer only
Changes
No recorded changes to this operation across all 110 revisions of this API.