@apptus/esales-api
Version:
Library for making requests to Elevate 4 API v3
21 lines (16 loc) • 660 B
text/typescript
import type { ProductGroup, ProductParams, RecommendationListPage, RecommendationListPageBody } from './common/mod.ts';
export interface ProductPageParams extends ProductParams {
/** Required parameter for product page, the product to return and show recommendations for */
productKey: string;
}
export interface ProductPageBody extends RecommendationListPageBody {
/** Settings for product group */
productGroup?: {
/** Include product group in result, defaults to `false` */
include: boolean;
};
}
export interface ProductPage extends RecommendationListPage {
/** ProductGroup for page, if enabled */
productGroup?: ProductGroup;
}