Skip to main content
POST
Record Activity Log

Body

application/json
catalogs
CatalogBaseSchema · object[]
required

List of catalogs associated with the activity. (for item_view, add_cart, page_view, purchase)

channel
string
required

Channel through which the activity occurred

device_id
string
required

Unique identifier for the device used

query
string | null
required

Search query for search activities

revenue
Revenue · object | null
required

Revenue generated from the purchase activity

schema
enum<string>
required

The type of activity to record

Available options:
activity.item_view,
activity.add_cart,
activity.page_view,
activity.search,
activity.purchase
timestamp
integer
required

Unix timestamp when the activity occurred

user_id
string
required

Unique identifier for the user performing the activity

device
Device · object | null

Optional AdCom v1.0 Device information

id
string | null

Unique identifier for the activity event

page_id
string | null

Unique identifier for the specific page where the activity occurred

Response

Successful Response