UNPKG

@apptus/esales-api

Version:

Library for making requests to Elevate 4 API v3

21 lines (16 loc) 601 B
import type { ProductGroup, ProductParams, RecommendationListPage, RecommendationListPageBody } from './common/mod.ts'; export interface CartPageParams extends ProductParams { /** A list of product keys for the products in the cart */ cart: string[]; } export interface CartPageBody extends RecommendationListPageBody { /** Settings for cart */ cart?: { /** Include cart in result, defaults to `false` */ include: boolean; }; } export interface CartPage extends RecommendationListPage { /** Collection of ProductGroup that matched input parameters */ cart: ProductGroup[]; }