Skip to content
Navigation

Resolve and hydrate a customer

Resolves a customer from any supported connector identifier, returns every identity linked by the ACF master ID, and hydrates an allowlisted company projection from each provider. The canonical customer entity maps to customer in Caret, NetSuite, Salesforce, and Stripe; it maps to organization in Clerk and Zendesk. Provider failures are returned as source status unavailable with partial=true and do not suppress successful providers. The operation is read-only and never changes ledger mappings.

GET
https://api.caretlegal.net/acf/customers/resolve

Authorization

  • ApiKeyAuth
    API key in header
    required

Query parameters

  • connectorName
    caret
    or
    netsuite
    or
    salesforce
    or
    stripe
    or
    clerk
    or
    zendesk
    +1 more
    required

    System whose identifier is supplied.

  • entityId
    string
    required

    Customer or organization identifier in the selected connector.

    minLength: 1

Header parameters

  • x-organization-id
    string
    required

    Organization UUID

    format: uuid

Returns

200

Resolved customer, including partial provider results when applicable.

JSON
  • success
    boolean
    required
  • data
    object
    required
    • lookup
      object
      required
      • connectorName
        caret
        or
        netsuite
        or
        salesforce
        or
        stripe
        or
        clerk
        or
        zendesk
        +1 more
        required
      • entityId
        string
        required
    • masterId
      string
      required
      format: uuid
    • identities
      array of
      object
      required
      • connectorEntityDetails
        object
        required
      • entityName
        string
        required
      • connectorEntityHash
        string
        required
      • entityId
        string
        required
      • connectorName
        string
        required
      • updatedDate
        string
        required
        format: date-time
      • masterId
        string
        required
        format: uuid
      • senderObjectHash
        map of
        string
        required
      • configId
        string | null
        required
    • sources
      array of
      object
      required
      • system
        netsuite
        or
        salesforce
        or
        stripe
        or
        clerk
        or
        zendesk
        or
        zoho
        required
      • label
        string
        required
      • entityName
        customer
        or
        organization
        required
      • recordId
        string | null
        required
      • status
        available
        or
        unavailable
        or
        not_linked
        required
      • values
        object
        required

        Allowlisted CBC company projection. This is not a raw provider payload.

        • name
          string | null
          required
        • email
          string | null
          required
        • phone
          string | null
          required
        • website
          string | null
          required
        • address
          string | null
          required
    • comparison
      object
      required
      • sources
        array of
        object
        required
        • system
          netsuite
          or
          salesforce
          or
          stripe
          or
          clerk
          or
          zendesk
          or
          zoho
          required
        • label
          string
          required
        • entityName
          customer
          or
          organization
          required
        • recordId
          string | null
          required
        • status
          available
          or
          unavailable
          or
          not_linked
          required
        • values
          object
          required

          Allowlisted CBC company projection. This is not a raw provider payload.

          • name
            string | null
            required
          • email
            string | null
            required
          • phone
            string | null
            required
          • website
            string | null
            required
          • address
            string | null
            required
      • fields
        array of
        object
        required
        • key
          name
          or
          email
          or
          phone
          or
          website
          or
          address
          required
        • label
          string
          required
        • status
          match
          or
          mismatch
          or
          insufficient
          required
        • values
          map of
          string | null
          required
    • billing
      object
      or null
      required

      Zoho Billing to Stripe payment-method reconciliation. Resolves the Zoho customer from the NetSuite subscription id, firm id, Salesforce account id, or billing email, then compares its payment instruments with the saved payment methods on the linked Stripe customer.

      • verdict
        match
        or
        mismatch
        or
        no_zoho_record
        or
        no_stripe_customer
        or
        no_payment_method
        or
        unverified
        required
      • summary
        string
        required
      • checks
        array of
        object
        required
        • key
          last_four
          or
          netsuite_link
          or
          name
          or
          email
          required
        • label
          string
          required
        • status
          match
          or
          mismatch
          or
          insufficient
          required
        • zoho
          string
          or null
          required
        • stripe
          string
          or null
          required
      • keys
        map of
        string
        required
      • zoho
        object
        required

        Zoho customer, subscriptions, and payment instruments on file. matchedBy is acf_ledger when the Zoho identity registered by ACF sync was reused, otherwise the NetSuite key that located it.

      • stripe
        object
        required

        Stripe customer and saved payment methods.

      • resolvedAt
        string
        required
        format: date-time
    • partial
      boolean
      required

      True when at least one supported provider is unavailable or not linked.

    • resolvedAt
      string
      required
      format: date-time

400

Invalid connector, missing identifier, or missing organization context.
JSON
  • success
    optional
    boolean
  • error
    optional
    string

    Error message

401

Authentication required.
JSON
  • success
    optional
    boolean
  • error
    optional
    string

    Error message

404

No ACF customer mapping exists for the supplied connector identifier.
JSON
  • success
    optional
    boolean
  • error
    optional
    string

    Error message

Type to search…

↑↓ navigate↵ selectEsc close