Skip to main content
Activities represent actions performed by customers in the loyalty program. They are used to determine when rewards should be issued, track customer behavior, and personalize the customer experience.
id
integer

Unique identifier for the activity.

Example:

503256787

customer_id
integer

The ID of the customer who performed the activity.

Example:

304169228

token
string

A token identifying the activity that was performed.

Example:

"activity_f57a9b5a8d0ac5"

distinct_id
string | null

A unique identifier for the activity in the external system (e.g. the order number).

Example:

"212993"

created_on_origin_at
string<date-time> | null

The date and time the activity was performed by the customer in the external system (e.g. when the action actually occurred, which is often earlier than when the activity is created in Smile).

Example:

"2024-04-04T15:10:42.030Z"

created_at
string<date-time>

The date and time when the activity was created.

Example:

"2024-05-15T08:35:08.920Z"

updated_at
string<date-time>

The date and time when the activity was last updated.

Example:

"2024-05-15T08:35:08.920Z"