Types
IRecommendationProps
interface IRecommendationProps {
// unique site identifier provided by Obviyo
siteId: string;
// recipe identifier provided in Obviyo App
qualifiedName: string;
// master id of currently viewed item (generally sent on pdp)
item?: string;
// unique visitor id generated by ecommerce platform
ecommerceId?: string;
// used for recipes that require additional items, variable depending on
// scenarios; see specific scenarios for details (e.g. ids of items in cart,
// ids of items purchased)
items?: string[];
// used in filtering to limit response to set of provided categories
catIds?: string[];
// used in filtering to limit response to set of provided tags
tags?: string[];
// used to provide contextual visitor data to algorithms
segs?: ISegment[];
// used for testing, if specified returns a set of preview products
preview?: boolean;
// specify a different number of results to return (default is 25)
numResults?: number;
}ISegment
IRecommendationResponse
IRecommendationItem
IPriceRange
IPrice
IVariant
IVariantOption
IImage
IProductInteractionProps
Last updated
Was this helpful?