kustomer-client
    Preparing search index...

    Function createTrackingIdentityEvent

    • Create tracking identity and track event Identifies a user and tracks an event with a single API call.

      The following role is required for this endpoint: org.tracking

      Type Parameters

      • ThrowOnError extends boolean = true

      Returns RequestResult<
          {
              data: {
                  attributes: {
                      createdAt: string;
                      email: string;
                      status: string;
                      statusAt: string;
                      trackingId: string;
                      updatedAt: string;
                  };
                  id: string;
                  links: { self: string };
                  relationships: {
                      customer: {
                          data: { id: string; type: string };
                          links: { self: string };
                      };
                      org: { data: { id: string; type: string }; links: { self: string } };
                  };
                  type: string;
              };
          },
          unknown,
          ThrowOnError,
      >