Loyalty Admin API
Write CallMergeCustomers1
Merges multiple customer accounts into a single account.
After making this call, all customer accounts you specify are merged into a single account.
In case of data conflicts (e.g. different names or birthdays), the priorities match the order of the accounts that you specify, i.e. the data in the first account takes priority over the data in the second account, and the second account takes priority over the third, etc.
An attempt to refer to any of the accounts, including by Bubblehouse ID, will resolve to the merged account.
| Kind | Write API call |
|---|---|
| Method | POST |
| URL | https://app.bubblehouse.com/api/v20230601/<shop>/MergeCustomers1 |
| Authentication | Shop Token |
While customer data is merged during the call, the rest of the processing may complete afterwards, so expect stats and history to keep updating for a little while.
A merge is currently hard (although not impossible) to undo, and you will need Bubblehouse team assistance for that.
Input
-
The customer accounts to merge.
You need to specify at least two accounts. All customer accounts will be merged into the first one.
-
descriptionstring optionalAn override of the description of the change to show to the customer.
-
private_notestring optionalExtra information about the change for the staff eyes only.
Output
A successful response has no meaningful properties and only contains an ok property always set to true:{"ok": true}