Skip to content

Product model

Product is a model representing details about the certain product and consists of the following fields:

  • productId: number
  • stockId: number
  • name: string
  • descriptions: Descriptions
  • price: ProductPrice
  • historicalLowestPrice: string;
  • productExists30DaysBeforePromotion: boolean;
  • category: CategoryBase
  • attributes?: Attribute[]
  • producer: Producer | null
  • isBuyable: boolean
  • isNew: boolean
  • availability: ProductAvailability
  • codes: TProductCodes
  • delivery: ProductDelivery
  • unit: Unit
  • weight: Weight
  • visibility: ProductVisibility
  • review: ProductReview
  • packageType: string
  • images: { main: ImageFile; additional: ImageFile[] | undefined; }
  • lowestShippingCost: Price | null
  • variantsConfiguration: ProductVariant[] | undefined
  • url: string

Descriptions

Descriptions represents the Descriptions model.

ProductPrice

ProductPrice represents the ProductPrice model.

CategoryBase

CategoryBase represents the CategoryBase model.

Attribute

Attribute represents the Attribute model.

Producer

Producer represents the Producer model.

ProductAvailability

ProductAvailability represents the ProductAvailability model.

TProductCodes

TProductCodes represents the TProductCodes object.

ProductDelivery

ProductDelivery represents the ProductDelivery model.

Unit

Unit represents the Unit model.

Weight

Weight represents the Weight model.

ProductVisibility

ProductVisibility represents the ProductVisibility model.

ProductReview

ProductReview represents the ProductReview model.

ImageFile

ImageFile represents the ImageFile model.

Price

Price represents the Price model.

ProductVariant

ProductVariant represents the ProductVariant model.