IDs and references that created the resource. This is present on resources created after 1 February 2019 except for events not tracked.

interface CreatedBy {
    anonymousId?: string;
    associate?: CustomerReference;
    attributedTo?: Attribution;
    clientId?: string;
    customer?: CustomerReference;
    externalUserId?: string;
}

Hierarchy (view full)

Properties

anonymousId?: string

Indicates the anonymous session during which the resource was created.

associate?: CustomerReference

Indicates the Customer who created the resource in the context of a Business Unit. Only present when an Associate acts on behalf of a company using the associate endpoints.

attributedTo?: Attribution

Indicates if the resource was created indirectly.

clientId?: string

id of the API Client which created the resource.

Indicates the Customer who created the resource using a token from the password flow.

externalUserId?: string

External user ID provided by X-External-User-ID HTTP Header or external_user_id:{externalUserId} scope.