← API documentation Models

Product

Catalog, price, stock, and SEO data for a product.

Last updated

Usage

Persisted product fields are supplemented with display fields populated by the product service.

Key properties

Property Meaning
ProductId / ProductGroupId Identity and primary product group.
PriceInDKK / PriceInDKKWithoutVat Price fields; check whether the value includes VAT.
QuantityInStock / MinQuantityToOrder Stock level and minimum order quantity.
ProductVariantsJson / ProductVariants Stored variants and the prepared list used for display.
HideForWebsite / CannotBePurchasedOnline Visibility and purchase availability are separate settings.
MetaTitle / MetaDescription / ProductUrl SEO metadata and public product URL.

Public properties

Property names and C# types follow this package version. Some fields are populated only when a service or repository prepares the model.

Property C# type
ProductId int
ProductGroupId int
ProductName string
ProductSKU string
ProductDescription string
PriceInDKK decimal
PriceInDKKSpecial decimal
DiscountPriceDateStart DateTime?
DiscountPriceDateEnd DateTime?
QuantityInStock int
MinQuantityToOrder int
ProductImageId int
Integration_ProductType string
ImageMediaIds string
WeightKg decimal
LengthCm decimal
WidthCm decimal
HeightCm decimal
DepthCm decimal
DiameterCm decimal
Brand string
BrandId int
SuppliersArticleNumber string?
RelatedProducts string
CreationDate DateTime?
SecondaryProductGroups string
CannotBePurchasedOnline bool
IsDeliveryItem bool
PickUpOnly bool
ExpectedDeliveryTime string
AncestorPath string
ProductBadgeAlias string
Tags string
NewUntilDate DateTime?
GtinNumber string
ProductVariantsJson string
ProductPricesJSON string
ProductFilesJSON string
Integration_DDD_Systeminfo string
DiscountGroup string
HideForWebsite bool
FilesProtectionCode string
Priority int
UrlShortcut string
MetaTitle string
MetaDescription string
Sorting int?
YearlySales int?
PriceInDKKWithoutVat decimal
ProductBadge ProductBadge
ProductTypos List<ProductTypo>
ProductPropertyData List<ProductPropertyData>
ProductVariants List<ProductVariant>
Currency string
CurrencyIso4217 string
PrimaryProductGroupUrl string
ProductUrl string
RelatedProductGroups List<ProductGroup>
DiscountInCurrency decimal
SalesPriceWithoutVat decimal

Source: OptimusCommercev2.Core/Models/Product.cs · OptimusCommerce.Extension 17.94.0