[PR #2568] Add API for working with rules #4373

Closed
opened 2026-02-28 20:55:02 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/2568

State: closed
Merged: Yes


This adds the following API endpoints for working with payee rules:

  • getPayeeRules()
  • createPayeeRule(rule)
  • updatePayeeRule(id, rule)
  • deletePayeeRule(id)

Note that deletePayeeRule accepts either the rule ID or a rule object (that has an id property). So you can pass in things returned from getPayeeRules() there.

updatePayeeRule will ignore the id property on the rule, favoring the one passed in as first argument.

**Original Pull Request:** https://github.com/actualbudget/actual/pull/2568 **State:** closed **Merged:** Yes --- This adds the following API endpoints for working with payee rules: - getPayeeRules() - createPayeeRule(rule) - updatePayeeRule(id, rule) - deletePayeeRule(id) Note that `deletePayeeRule` accepts either the rule ID *or* a rule object (that has an `id` property). So you can pass in things returned from `getPayeeRules()` there. `updatePayeeRule` will ignore the `id` property on the rule, favoring the one passed in as first argument.
GiteaMirror added the pull-request label 2026-02-28 20:55:02 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#4373