kustomer-client
    Preparing search index...

    Function getCustomerMergesByCustomer

    • Get customer merges by customer ID Retrieves customer merges based on the unique ID of the customer.

      Any one of the following roles is required for this endpoint:

      Legacy Role Equivalent Permission Set Role
      org.user.customer.read org.permission.customer_merge.read
      org.admin.customer.merge.read

      Type Parameters

      • ThrowOnError extends boolean = true

      Returns RequestResult<
          {
              data: {
                  attributes: { createdAt: string; status: string; updatedAt: string };
                  id: string;
                  links: { self: string };
                  relationships: {
                      createdBy: {
                          data: { id: string; type: string };
                          links: { self: string };
                      };
                      org: { data: { id: string; type: string }; links: { self: string } };
                      source: { data: { id: string; type: string }; links: { self: string } };
                      target: { data: { id: string; type: string }; links: { self: string } };
                  };
                  type: string;
              }[];
              links: {
                  first: string;
                  next: null
                  | string;
                  prev: null | string;
                  self: string;
              };
              meta: { page: number; pageSize: number };
          },
          unknown,
          ThrowOnError,
      >