Home > @vsf-enterprise/epcc-api > Product
# Product interface
Product model
Signature:
export interface Product extends EPProductResponse
Extends: EPProductResponse
# Properties
Property | Type | Description |
---|---|---|
attributes | EPProductResponse['attributes'] & { extensions?: unknown; tiers?: { [key: string]: TierPrice; }; } | Extension of the product response of Elastic Path. |
component_products? | Product[] | (Optional) Product collection that compose a bundle. |
connected_products? | ConnectedProducts | (Optional) Connected products are recommendations in addition to an item a customer is currently viewing. |
files? | File[] | (Optional) Product relevant files. |
inventory? | Inventory | (Optional) Product inventory. |
main_image? | File | (Optional) The product main image file. |
meta | EPProductResponse['meta'] & { original_price?: { [key: string]: { amount: number; includes_tax: boolean; }; }; original_display_price?: { with_tax: FormattedPrice; without_tax: FormattedPrice; }; variation_matrix?: any; component_products?: { [key: string]: { price: Price; pricebook_id?: string; display_price: { without_tax: FormattedPrice; }; }; }; tiers?: { [key: string]: { display_price: { with_tax?: FormattedPrice; without_tax?: FormattedPrice; }; }; }; } | Extension of the meta information of Elastic Path. |