File

integration-libs/cds/src/cds-models/cds-strategy-request.model.ts

Description

A model class that is used when sending a request to the Context-Driven Services Merchandising Strategy service for returning products for a carousel. There are a number of things that can affect which products are returned, based on the users current context

Index

Properties

Properties

headers
headers: literal type
Type : literal type
Optional
queryParams
queryParams: literal type
Type : literal type
Optional
export interface StrategyRequest {
  queryParams?: {
    // This property is productCodes in OCC
    products?: string[];
    category?: string;
    facets?: string;
    date?: Date;
    site?: string;
    language?: string;
    pageNumber?: number;
    pageSize?: number;
    searchPhrase?: string;
  };
  headers?: {
    consentReference?: string;
  };
}

result-matching ""

    No results matching ""