Interface ActionResponse

Result object for an action that contains the recommendations and content that was requested for the current action.

interface ActionResponse {
    affinities: CustomerAffinityResponse;
    campaigns?: {
        content: Record<string, unknown>;
        recommendations: Record<string, unknown>;
    };
    cmpid: string;
    geo_location: string[];
    page_views: number;
    recommendations: Record<string, unknown>;
}

Properties

Affinity metadata

campaigns?: {
    content: Record<string, unknown>;
    recommendations: Record<string, unknown>;
}

Recommendations and content that was requested for the current action.

cmpid: string

Category Merchandising result id

geo_location: string[]

Geo location metadarta

page_views: number

Page view count

recommendations: Record<string, unknown>

Recommendations that were requested for the current action.