Product Data Type

a product

Properties
name data type constraints description
id string  
catalogId string   get the catalog this product is attached to
parentId string  
externalId string  
ean string   get the EAN code
name string  
description string   get the description
deeplink string   get the deeplink for the product
price number   get the price of the product
stock number   get the stock of the product
oldPrice number   get the previous price of the product
image string   get the products image
topSeller boolean required check if this product is a topseller
novelty boolean required check if this product is a novelty
validFrom number   get date from which this product is valid from
validTo number   get the date until which this product is valid
productCrossSellingCollection string   get the cross-selling products
categoryCollection string   get the categories this product is contained in
productAttributeCollection array of ProductAttribute   get the products attributes

Example

{
  "id" : "...",
  "catalogId" : "...",
  "parentId" : "...",
  "externalId" : "...",
  "ean" : "...",
  "name" : "...",
  "description" : "...",
  "deeplink" : "...",
  "price" : 12345.0,
  "stock" : 12345,
  "oldPrice" : 12345.0,
  "image" : "...",
  "topSeller" : true,
  "novelty" : true,
  "validFrom" : 12345,
  "validTo" : 12345,
  "productCrossSellingCollection" : "...",
  "categoryCollection" : "...",
  "productAttributeCollection" : [ {
    "attributeValue" : "...",
    "productId" : "...",
    "attributeDefinitionId" : "...",
    "id" : "..."
  }, {
    "attributeValue" : "...",
    "productId" : "...",
    "attributeDefinitionId" : "...",
    "id" : "..."
  } ]
}