getProduct
get
/ccstore/v1/products/{id}
Get Product. Get a product. Optionally takes the x-ccasset-language headers to get translated content in another language.Also it can have optional X-CCOrganization header which is a JSON field to specify current Organization id of logged in user.None of the image URLS are encoded.
Request
Supported Media Types
- application/json
Path Parameters
- id
-
Type:
stringRequired:truethe id of the product to retrieve
Query Parameters
- catalogId
-
Type:
stringthe catalog ID of the site- storePriceListGroupId
Type:stringthe price list group id for which product prices are to be returned
Header Parameters
- X-CCAsset-Language
-
Type:
stringThe asset language of the request
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getProduct_response
- active
-
Type:
booleanTells whether product is active. - arrivalDate
-
Type:
stringArrival date of product. - brand
-
Type:
stringBrand of the product. - childSKUs
-
Type:
arraychildSKUsArray having the properties of child SKU of the product. - creationDate
-
Type:
stringCreation Date of the product. - dateAvailable
-
Type:
stringDate Available of the product. - daysAvailable
-
Type:
integerDays Available of the product. - defaultProductListingSku
-
Type:
objectdefaultProductListingSkuDefault Product Listing Sku product - description
-
Type:
stringDescription of the product. - displayName
-
Type:
stringDisplay Name of the product. - dynamicPropertyMapDouble
-
Type:
stringDynamic property map double. - dynamicPropertyMapLong
-
Type:
stringDynamic Property Map Long. - dynamicPropertyMapString
-
Type:
stringDynamic Property MapString. - fullImageURLs
-
Type:
stringFull image URL of the product. - height
-
Type:
stringHeight of the product. - id
-
Type:
stringProduct ID. - keywords
-
Type:
arraykeywordsKeywords of product. - largeImage
-
Type:
objectlargeImageHas repository ID and URL of the product. - largeImageURLs
-
Type:
stringLarge Image URLs of the product. - length
-
Type:
stringLength of the product. - listPrice
-
Type:
numberList Price of the product in the default price group. - listPrices
-
Type:
objectlistPricesObject with price group IDs as keys and list prices as values - longDescription
-
Type:
stringLong description of the product. - mediumImageURLs
-
Type:
arraymediumImageURLsMedium Image URLs. - notForIndividualSale
-
Type:
booleanStates whether not a product may be sold individually rather than, for example, as part of a configured product - onlineOnly
-
Type:
booleanTells whether the product is online. - orderable
-
Type:
stringWhether product is orderable. - orderLimit
-
Type:
stringOrder limit of the product. - parentCategories
-
Type:
arrayparentCategoriesArray having repository ID of the product. - parentCategory
-
Type:
stringParent category of the product. - primaryFullImageURL
-
Type:
stringPrimary full image URL of the product. - primaryImageAltText
-
Type:
stringAlt text for product primary image. - primaryImageTitle
-
Type:
stringTitle text for product primary image. - primaryLargeImageURL
-
Type:
stringPrimary large image URL of the product. - primaryMediumImageURL
-
Type:
stringPrimary Medium Image URL. - primarySmallImageURL
-
Type:
stringPrimary Small Image URL of the product. - primarySourceImageURL
-
Type:
stringPrimary Source Image URL of the product. - primaryThumbImageURL
-
Type:
stringPrimary Thumb Image URL of the product. - productImages
-
Type:
arrayproductImagesArray of product images. - productImagesMetaData
-
Type:
arrayproductImagesMetaDataImage Metadata - productNumber
-
Type:
stringProduct number. - relatedProducts
-
Type:
arrayrelatedProductsArray of related products. - repositoryId
-
Type:
stringRepository ID of the product. - route
-
Type:
stringRoute of the product. - salePrice
-
Type:
numberSale Price of the product in the default price group. - salePriceEndDate
-
Type:
stringSale Price End Date of the product. - salePrices
-
Type:
objectsalePricesObject with price group IDs as keys and sale prices as values - salePriceStartDate
-
Type:
stringSale Price Start Date of the product. - seoDescriptionDerived
-
Type:
stringDerived from display name and description of the product - seoKeywordsDerived
-
Type:
stringDerived from display name and ancestor category name's of the product - seoMetaInfo
-
Type:
objectseoMetaInfoSeo meta info for category. - seoTitleDerived
-
Type:
stringDerived from display name of the product - shippingSurcharge
-
Type:
numberExtra handling cost for shipping the product in the default price group. - shippingSurcharges
-
Type:
objectshippingSurchargesObject with price group IDs as keys and shipping surcharges as values - smallImageURLs
-
Type:
arraysmallImageURLsSmall image URL of the product. - sourceImageURLs
-
Type:
arraysourceImageURLsSource image URL. - taxCode
-
Type:
stringTax Code of the product. - thumbImageURLs
-
Type:
arraythumbImageURLsThumb Image URLs of the product. - translations
-
Type:
stringTranslations of the product. - type
-
Type:
stringType of product. - weight
-
Type:
stringWeight of the product. - width
-
Type:
stringWidth of the product.
Nested Schema : childSKUs
Nested Schema : defaultProductListingSku
Nested Schema : keywords
Nested Schema : largeImage
Type:
objectHas repository ID and URL of the product.
- id
-
Type:
stringRepository ID - url
-
Type:
stringRepository URL
Nested Schema : listPrices
Type:
objectObject with price group IDs as keys and list prices as values
- Price Group ID 1
-
Type:
numberList price of the product in price group 1 - Price Group ID 2
-
Type:
numberList price of the product in price group 2
Nested Schema : mediumImageURLs
Nested Schema : parentCategories
Nested Schema : salePrices
Type:
objectObject with price group IDs as keys and sale prices as values
- Price Group ID 1
-
Type:
numberSale price of the product in price group 1 - Price Group ID 2
-
Type:
numberSale price of the product in price group 2
Nested Schema : seoMetaInfo
Type:
objectSeo meta info for category.
- repositoryId
-
Type:
stringRepository id of seo metadata. - seoDescription
-
Type:
stringDescription of category. - seoKeywords
-
Type:
stringKeywords of category. - seoTitle
-
Type:
stringTitle of category.
Nested Schema : shippingSurcharges
Type:
objectObject with price group IDs as keys and shipping surcharges as values
- Price Group ID 1
-
Type:
numberShipping surcharge of the product in price group 1 - Price Group ID 2
-
Type:
numberShipping surcharge of the product in price group 2
Nested Schema : smallImageURLs
Nested Schema : sourceImageURLs
Nested Schema : thumbImageURLs
Nested Schema : items
Type:
object- dynamicPropertyMapLong
-
Type:
stringDynamic Property MapLong of SKU. - DynamicSKUProperty
-
Type:
stringDynamic Properties of SKU. - fullImageURLs
-
Type:
arrayfullImageURLsFull Image URLs of SKU. - id
-
Type:
stringSKU id - largeImage
-
Type:
stringLarge Image of the SKU. - largeImageURLs
-
Type:
arraylargeImageURLsLarge Image URLs of SKU. - listPrice
-
Type:
integerList Price of the product SKU. - mediumImageURLs
-
Type:
arraymediumImageURLsMedium Image URLs SKU. - primaryLargeImageURL
-
Type:
stringPrimary Large Image URL of SKU. - primaryMediumImageURL
-
Type:
stringPrimary Medium Image URL ID of SKU. - primarySmallImageURL
-
Type:
stringPrimary Small Image URL of SKU. - primarySourceImageURL
-
Type:
stringPrimary Source Image URL of SKU. - primaryThumbImageURL
-
Type:
stringPrimary Source Image URL of SKU. - quantity
-
Type:
integerQuantity available of SKU. - repositoryId
-
Type:
stringRepository ID of SKU. - salePrice
-
Type:
stringSale Price of SKU. - salePriceEndDate
-
Type:
stringSale Price End Date of the SKU. - salePriceStartDate
-
Type:
stringSale Price Start Date of SKU. - shippingSurcharge
-
Type:
integerExtra handling cost while shipping the product. - smallImage
-
Type:
stringSmall Image URL of SKU. - smallImageURLs
-
Type:
arraysmallImageURLsSmall Image URLs of SKU. - sourceImageURLs
-
Type:
arraysourceImageURLsSource Image URLs of SKU. - thumbImageURLs
-
Type:
arraythumbImageURLsThumb Image URLs of SKU. - thumbnailImage
-
Type:
stringThumbnail Image of SKU.
Nested Schema : fullImageURLs
Nested Schema : largeImageURLs
Nested Schema : mediumImageURLs
Nested Schema : smallImageURLs
Nested Schema : sourceImageURLs
Nested Schema : thumbImageURLs
Nested Schema : items
Type:
object- repositoryId
-
Type:
stringRepository ID of product.
Nested Schema : items
Type:
object- metadata
-
Type:
objectmetadataSeo meta info for product. - name
-
Type:
stringThe name of product image - path
-
Type:
stringThe path of the image - repositoryId
-
Type:
stringThe repository Id of the product image - tags
-
Type:
arraytagsThe array of product image tags - url
-
Type:
stringThe url of the product image
Nested Schema : metadata
Type:
objectSeo meta info for product.
- altText
-
Type:
stringThe alt text of the image - titleText
-
Type:
stringThe title text of the image
Nested Schema : items
Type:
object- altText
-
Type:
stringAlt text for product image. - titleText
-
Type:
stringTitle text for product image.
Example application/json
{
"dynamicPropertyMapLong":{
},
"largeImage":null,
"smallImage":null,
"upsellProductGroup":null,
"keywords":[
],
"endDate":null,
"derivedCatalogs":[
],
"custRatingCount":null,
"orderable":null,
"relatedProducts":null,
"orderLimit":null,
"onlineOnly":false,
"listPrices":null,
"dynamicUpsellProducts":null,
"type":null,
"largeImageURLs":[
"/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=940&width=940"
],
"ancestorCategoryIds":[
],
"productInfos":{
},
"id":"xprod2119",
"brand":"Fisher's Colony",
"salePriceEndDate":null,
"height":null,
"defaultProductListingSku":null,
"primaryMediumImageURL":"/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=475&width=475",
"skuOptionsInfo":null,
"seoUrlSlugDerived":"vineyard-antique-arm-chair",
"dynamicPropertyMapBigString":{
},
"active":true,
"weight":null,
"thumbImageURLs":[
"/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=100&width=100"
],
"taxCode":"PC030100",
"creationDate":"2014-10-27T05:11:57.034Z",
"version":2,
"arrivalDate":null,
"route":"/vineyard-antique-arm-chair/product/xprod2119",
"catalogs":[
],
"mediumImageURLs":[
"/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=475&width=475"
],
"primarySourceImageURL":"/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=300&width=300",
"parentCategory":null,
"primarySmallImageURL":"/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=300&width=300",
"sourceImageURLs":[
"/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=300&width=300"
],
"avgCustRating":null,
"startDate":null,
"longDescription":"This 18th century antique reproduction arm chair features hand-carved walnut and spring cushion base. Upholstered in buttery soft print textile with a lovely vintage pattern.",
"template":null,
"primaryThumbImageURL":"/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=100&width=100",
"displayName":"Vineyard Antique Arm Chair",
"description":"Hand-carved walnut",
"primaryFullImageURL":"/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg",
"salePrices":null,
"productVariantOptions":[
{
"optionValueMap":{
"Silver":1,
"Neon":2,
"Black":0
},
"optionId":"color",
"mapKeyPropertyAttribute":"sku-camcorder_color",
"optionName":"color"
}
],
"primaryLargeImageURL":"/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=940&width=940",
"smallImageURLs":[
"/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=300&width=300"
],
"itemAcl":null,
"shippingSurcharges":null,
"displayableSkuAttributes":[
],
"dynamicPropertyMapString":{
},
"siteIds":[
],
"thumbnailImage":null,
"discountable":true,
"computedCatalogs":[
],
"childSKUs":[
{
"dynamicPropertyMapLong":{
},
"primaryThumbImageURL":null,
"largeImage":null,
"smallImage":null,
"listPrices":null,
"salePrices":null,
"primaryFullImageURL":null,
"productListingSku":null,
"largeImageURLs":[
],
"primaryLargeImageURL":null,
"smallImageURLs":[
],
"shippingSurcharges":null,
"thumbnailImage":null,
"salePriceEndDate":null,
"salePriceStartDate":null,
"images":[
],
"salePrice":null,
"primaryMediumImageURL":null,
"fullImageURLs":[
],
"active":true,
"thumbImageURLs":[
],
"mediumImageURLs":[
],
"repositoryId":"xsku2119",
"DynamicSkuProperty2":"value2",
"shippingSurcharge":null,
"DynamicSkuProperty1":"value1",
"primarySourceImageURL":null,
"primarySmallImageURL":null,
"sourceImageURLs":[
],
"listPrice":219
}
],
"salePriceStartDate":null,
"catalogsRelatedProducts":[
],
"fixedRelatedProducts":[
],
"salePrice":null,
"fullImageURLs":[
"/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg"
],
"length":null,
"upsellProducts":null,
"parentCategoriesForCatalog":{
},
"variantValuesOrder":{
"color":[
"Spring Green",
"Cranberry",
"Marigold"
],
"size":[
"Small",
"Large",
"Medium"
]
},
"relatedProductGroup":null,
"auxiliaryMedia":{
},
"dateAvailable":"2014-10-27T05:11:57.034Z",
"width":null,
"repositoryId":"xprod2119",
"shippingSurcharge":null,
"ancestorCategories":[
],
"daysAvailable":0,
"dynamicPropertyMapDouble":{
},
"listPrice":219,
"dynamicRelatedProducts":null,
"fixedUpsellProducts":[
]
}
Default Response
The error response
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAn optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Response Payload returned by endpoint:
{
"dynamicPropertyMapLong": {},
"largeImage": null,
"smallImage": null,
"upsellProductGroup": null,
"keywords": [],
"endDate": null,
"derivedCatalogs": [],
"custRatingCount": null,
"orderable": null,
"relatedProducts": null,
"orderLimit": null,
"onlineOnly": false,
"listPrices": null,
"dynamicUpsellProducts": null,
"type": null,
"largeImageURLs": ["/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=940&width=940"],
"ancestorCategoryIds": [],
"productInfos": {},
"id": "xprod2119",
"brand": "Fisher's Colony",
"salePriceEndDate": null,
"height": null,
"defaultProductListingSku": null,
"primaryMediumImageURL": "/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=475&width=475",
"skuOptionsInfo": null,
"seoUrlSlugDerived": "vineyard-antique-arm-chair",
"dynamicPropertyMapBigString": {},
"active": true,
"weight": null,
"thumbImageURLs": ["/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=100&width=100"],
"taxCode": "PC030100",
"creationDate": "2014-10-27T05:11:57.034Z",
"version": 2,
"arrivalDate": null,
"route": "/vineyard-antique-arm-chair/product/xprod2119",
"catalogs": [],
"mediumImageURLs": ["/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=475&width=475"],
"primarySourceImageURL": "/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=300&width=300",
"parentCategory": null,
"primarySmallImageURL": "/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=300&width=300",
"sourceImageURLs": ["/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=300&width=300"],
"avgCustRating": null,
"startDate": null,
"longDescription": "This 18th century antique reproduction arm chair features hand-carved walnut and spring cushion base. Upholstered in buttery soft print textile with a lovely vintage pattern.",
"template": null,
"primaryThumbImageURL": "/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=100&width=100",
"displayName": "Vineyard Antique Arm Chair",
"description": "Hand-carved walnut",
"primaryFullImageURL": "/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg",
"salePrices": null,
"productVariantOptions": [{
"optionValueMap": {
"Silver": 1,
"Neon": 2,
"Black": 0
},
"optionId": "color",
"mapKeyPropertyAttribute": "sku-camcorder_color",
"optionName": "color"
}],
"primaryLargeImageURL": "/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=940&width=940",
"smallImageURLs": ["/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg&height=300&width=300"],
"itemAcl": null,
"shippingSurcharges": null,
"displayableSkuAttributes": [],
"dynamicPropertyMapString": {},
"siteIds": [],
"thumbnailImage": null,
"discountable": true,
"computedCatalogs": [],
"childSKUs": [{
"dynamicPropertyMapLong": {},
"primaryThumbImageURL": null,
"largeImage": null,
"smallImage": null,
"listPrices": null,
"salePrices": null,
"primaryFullImageURL": null,
"productListingSku": null,
"largeImageURLs": [],
"primaryLargeImageURL": null,
"smallImageURLs": [],
"shippingSurcharges": null,
"thumbnailImage": null,
"salePriceEndDate": null,
"salePriceStartDate": null,
"images": [],
"salePrice": null,
"primaryMediumImageURL": null,
"fullImageURLs": [],
"active": true,
"thumbImageURLs": [],
"mediumImageURLs": [],
"repositoryId": "xsku2119",
"DynamicSkuProperty2": "value2",
"shippingSurcharge": null,
"DynamicSkuProperty1": "value1",
"primarySourceImageURL": null,
"primarySmallImageURL": null,
"sourceImageURLs": [],
"listPrice": 219
}],
"salePriceStartDate": null,
"catalogsRelatedProducts": [],
"fixedRelatedProducts": [],
"salePrice": null,
"fullImageURLs": ["/ccstore/v1/images/?source=http://localhost:8080/file/cloudlakeimages/products/full/ST_VineyardAntiqueChair_full.jpg"],
"length": null,
"upsellProducts": null,
"parentCategoriesForCatalog": {},
"variantValuesOrder": {
"color": [
"Spring Green",
"Cranberry",
"Marigold"
],
"size": [
"Small",
"Large",
"Medium"
]
},
"relatedProductGroup": null,
"auxiliaryMedia": {},
"dateAvailable": "2014-10-27T05:11:57.034Z",
"width": null,
"repositoryId": "xprod2119",
"shippingSurcharge": null,
"ancestorCategories": [],
"daysAvailable": 0,
"dynamicPropertyMapDouble": {},
"listPrice": 219,
"dynamicRelatedProducts": null,
"fixedUpsellProducts": []
}