UNPKG

@apptus/esales-api

Version:

Library for making requests to Elevate 4 API v3

14 lines (9 loc) 510 B
import { ProductParams, RecommendationListConfiguration, RecommendationListPage } from './common/mod.ts'; export interface AddToCartPopupParams extends ProductParams { /** A list of product keys for the products in the cart */ cart?: string[]; /** The key of the product variant added to cart. Must match a variant key from the data feed. */ variantKey: string; } export type AddToCartPopupBody = RecommendationListConfiguration[]; export interface AddToCartPopup extends RecommendationListPage {}