Merge client
POST/api/v1/clients/:id/:mergeable_client_hashed_id/merge
POST /api/v1/clients/{id}/{mergeable_client_hashed_id}/merge
Handles merging 2 clients
The id parameter is the client that will be the primary client after the merge has completed.
The mergeable_client_hashed_id is the client that will be merged into the primary client, this clients records will be updated and associated with the primary client.
🚨 Important
This action requires elevated permissions, please note the X-API-PASSWORD header requirements for this route.
Request
Responses
- 200
- 401
- 403
- 422
- 429
- default
Returns the client object
Response Headers
X-MINIMUM-CLIENT-VERSION
The API version
X-RateLimit-Remaining
The number of requests left for the time window.
X-RateLimit-Limit
The total number of requests in a given time window.
Authentication error
Authorization error
Validation error
Rate Limit Exceeded
Unexpected Error