integration-libs/cds/src/cds-models/cds-strategy-request.model.ts
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
Properties |
|
| headers |
headers:
|
Type : literal type
|
| Optional |
| queryParams |
queryParams:
|
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;
};
}