Skip to content

A local-first personal finance app

Add `mergePayees` to the API reference (#404)

Matt Fiddamanc5c5d55782e0
diff --git a/docs/api/reference.md b/docs/api/reference.md
index 3484cd962a..e783aa2b61 100644
--- a/docs/api/reference.md
+++ b/docs/api/reference.md
@@ -54,7 +54,8 @@ This is the documentation of all available API methods. The API has not been rel
"getPayees",
"createPayee",
"updatePayee",
-"deletePayee"
+"deletePayee",
+"mergePayees"
]} />
<APIList title="Rules" sections={[
@@ -453,6 +454,12 @@ Update fields of a payee. `fields` can specify any field described in [`Payee`](
Delete a payee.
+#### `mergePayees`
+
+<Method name="mergePayees" args={[{ name: 'targetId', type: 'id' }, { name: 'mergeIds', type: 'id[]' }]} returns="Promise<null>" />
+
+Merge one or more payees into the target payee, retaining the name of the target.
+
## Rules
#### ConditionOrAction