Home > widget-integration > ProductBundle

ProductBundle type

Signature:

export type ProductBundle = {
	bundle_display_type: "bottom" | "product";
	bundle_type: "classic" | "ai_fbt" | "ai_related" | "ai_personalized" | "volume";
	discount_type: "net" | "percent" | "fixed";
	discount_value: number;
	excludes?: Array<Record<string, any>>;
	widgetId: string;
	discounts?: Array<{
		item: number;
		discount_type: string;
		discount_value: number;
	}>;
	products: Array<Product>;
	updated_at: number;
	primary_algorithm?: string;
	secondary_algorithm?: string;
	minimum_bundle_price?: number;
	bundle_limit?: number;
	collection_ids?: Array<number>;
	segments?: Array<string>;
	recommendation_type?: string;
};

References: Product