Skip to content
Navigation

Merge two ACF customer masters

Moves mappings from targetMasterId to sourceMasterId. Requires an elevated merge scope and an auditable reason.

POST
https://api.caretlegal.net/integrations/external-clients/customers/merge

Authorization

  • PartnerApiKey
    HTTP
    required

Header parameters

  • x-organization-id
    string
    required

Request body JSON required

  • sourceMasterId
    string
    required

    ACF masterId to keep.

    format: uuid
  • targetMasterId
    string
    required

    ACF masterId to merge into sourceMasterId.

    format: uuid
  • reason
    string
    required

    Auditable reason for the merge.

Returns

200

Masters merged

JSON
  • success
    boolean
    required
  • data
    object
    required
    • sourceMasterId
      optional
      string
      format: uuid
    • targetMasterId
      optional
      string
      format: uuid
    • merged
      optional
      integer
    • reason
      optional
      string
    • initiatedBy
      optional
      string

400

Invalid request
JSON
  • success
    boolean
    required
  • error
    string
    required
  • details
    optional
    array of
    object

401

Invalid API key
JSON
  • success
    boolean
    required
  • error
    string
    required
  • details
    optional
    array of
    object

403

Missing merge scope
JSON
  • success
    boolean
    required
  • error
    string
    required
  • details
    optional
    array of
    object

Type to search…

↑↓ navigate↵ selectEsc close