An abstract sellable good with a set of Attributes defined by a Product Type. Products themselves are not sellable. Instead, they act as a parent structure for Product Variants. Each Product must have at least one Product Variant, which is called the Master Variant. A single Product representation contains the current and the staged representation of its product data.

interface Product {
    createdAt: string;
    createdBy?: CreatedBy;
    id: string;
    key?: string;
    lastModifiedAt: string;
    lastModifiedBy?: LastModifiedBy;
    masterData: ProductCatalogData;
    priceMode?: string;
    productType: ProductTypeReference;
    reviewRatingStatistics?: ReviewRatingStatistics;
    state?: StateReference;
    taxCategory?: TaxCategoryReference;
    version: number;
}

Hierarchy

Properties

createdAt: string

Date and time (UTC) the Product was initially created.

createdBy?: CreatedBy

Present on resources created after 1 February 2019 except for events not tracked.

id: string

Unique identifier of the Product.

key?: string

User-defined unique identifier of the Product.

This is different from the `key` of a [ProductVariant](ctp:api:type:ProductVariant).
lastModifiedAt: string

Date and time (UTC) the Product was last updated.

lastModifiedBy?: LastModifiedBy

Present on resources created after 1 February 2019 except for events not tracked.

masterData: ProductCatalogData

Contains the current and the staged representation of the product information.

priceMode?: string

Type of Price to be used when looking up a price for the Product.

The Product Type defining the Attributes of the Product. Cannot be changed.

reviewRatingStatistics?: ReviewRatingStatistics

Review statistics of the Product.

State of the Product.

taxCategory?: TaxCategoryReference

The TaxCategory of the Product.

version: number

Current version of the Product.

Generated using TypeDoc