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:
booleanProduct active property - arrivalDate
-
Type:
stringarrival date of the product - auxiliaryMedia
-
Type:
stringauxiliary media - avgCustRating
-
Type:
numberaverage customer rating for the product - brand
-
Type:
stringbrand of the product - childSKUs
-
Type:
arraychildSKUsAdditional Properties Allowed:List of SKU's for the product - creationDate
-
Type:
stringproduct creation date - custRatingCount
-
Type:
integertotal count of the customer rating for the product - dateAvailable
-
Type:
stringavailable date - daysAvailable
-
Type:
integeravailable number of days - description
-
Type:
stringdescription of the product - discountable
-
Type:
booleanProduct discountable property - displayName
-
Type:
stringdisplay name of the product - dynamicRelatedProducts
-
Type:
stringdynamic related products - dynamicUpsellProducts
-
Type:
stringdynamic upsell products - endDate
-
Type:
stringend date - fullImageURLs
-
Type:
arrayfullImageURLsAdditional Properties Allowed:full image url paths.The urls are not encoded. - height
-
Type:
numberheight of the product - id
-
Type:
stringid of the product - itemAcl
-
Type:
stringitem acl - largeImage
-
Type:
stringlarge image url path of the product. The url is not encoded. - largeImageURLs
-
Type:
stringlarge image urls. The url is not encoded. - length
-
Type:
numberlength of the product - listPrice
-
Type:
numberlist price of the product - listPrices
-
Type:
objectlistPricesAdditional Properties Allowed:list prices of the product in respective price list groups - longDescription
-
Type:
stringlong description of the product - mediumImageURLs
-
Type:
arraymediumImageURLsAdditional Properties Allowed:medium image urls path. The urls are not encoded. - nonreturnable
-
Type:
booleanIndicates whether the product is returnable or not. - notForIndividualSale
-
Type:
booleanStates whether not a product may be sold individually rather than, for example, as part of a configured product - onlineOnly
-
Type:
booleanonline only property - orderable
-
Type:
stringorderable property - orderLimit
-
Type:
integerorder limit - parentCategory
-
Type:
stringparent category of the product - primaryFullImageURL
-
Type:
stringprimary full image url path. The url is not encoded. - primaryLargeImageURL
-
Type:
stringprimary large image url path. The url is not encoded. - primaryMediumImageURL
-
Type:
stringprimary medium image url path. The url is not encoded. - primarySmallImageURL
-
Type:
stringprimary small image url path. The url is not encoded. - primarySourceImageURL
-
Type:
stringprimary source image url path. The url is not encoded. - primaryThumbImageURL
-
Type:
stringprimary thumb image url path. The url is not encoded. - productVariantOptions
-
Type:
arrayproductVariantOptionsAdditional Properties Allowed:Objects containing product's variant options details if available for the product. - relatedProductGroup
-
Type:
stringrelated product group - relatedProducts
-
Type:
stringrelated products - repositoryId
-
Type:
stringrepository id of the product - route
-
Type:
stringroute of the product - salePrice
-
Type:
stringsale price of the product - salePriceEndDate
-
Type:
stringsale price end date of the product - salePrices
-
Type:
objectsalePricesAdditional Properties Allowed:sale prices of the product in respective price list groups - salePriceStartDate
-
Type:
stringstart date of the product's sale price - seoUrlSlugDerived
-
Type:
stringDerived from seoUrlSlug of the product if available, else derived from display name of the product. - shippingSurcharge
-
Type:
numberExtra handling costs for shipping the product. - shippingSurcharges
-
Type:
objectshippingSurchargesAdditional Properties Allowed:Extra handling costs for shipping the product in respective price list groups - skuOptionsInfo
-
Type:
stringSku options info - smallImage
-
Type:
stringsmall image path of the product. The url is not encoded. - smallImageURLs
-
Type:
arraysmallImageURLsAdditional Properties Allowed:small image url paths. The urls are not encoded. - sourceImageURLs
-
Type:
arraysourceImageURLsAdditional Properties Allowed:source image urls of the product. The urls are not encoded. - startDate
-
Type:
stringstart date - taxCode
-
Type:
stringtax code of the product - template
-
Type:
stringtemplate - thumbImageURLs
-
Type:
arraythumbImageURLsAdditional Properties Allowed:thumb image urls of the product. The urls are not encoded. - type
-
Type:
stringtype of the product - upsellProductGroup
-
Type:
stringupsell product group - upsellProducts
-
Type:
stringupsell products - variantValuesOrder
-
Type:
objectvariantValuesOrderAdditional Properties Allowed:Object having various variant property as key and ordered values array as the value. - version
-
Type:
stringversion of the product - weight
-
Type:
numberweight - width
-
Type:
numberwidth of the product
Nested Schema : childSKUs
Nested Schema : fullImageURLs
Nested Schema : listPrices
Type:
objectlist prices of the product in respective price list groups
- plg1
-
Type:
numberlist price of the product in plg1 - plg2
-
Type:
numberlist price of the product in plg2
Nested Schema : mediumImageURLs
Nested Schema : productVariantOptions
Nested Schema : salePrices
Type:
objectsale prices of the product in respective price list groups
- plg1
-
Type:
numbersale price of the product in plg1 - plg2
-
Type:
numbersale price of the product in plg2
Nested Schema : shippingSurcharges
Type:
objectExtra handling costs for shipping the product in respective price list groups
- plg1
-
Type:
numberExtra handling costs for shipping the product in plg1 - plg2
-
Type:
numberExtra handling costs for shipping the product in plg2
Nested Schema : smallImageURLs
Nested Schema : sourceImageURLs
Nested Schema : thumbImageURLs
Nested Schema : variantValuesOrder
Type:
objectObject having various variant property as key and ordered values array as the value.
Nested Schema : items
Type:
object- active
-
Type:
booleanSKU active property - DynamicSKUProperty
-
Type:
stringDynamic Properties of SKU. - fullImageURLs
-
Type:
arrayfullImageURLsAdditional Properties Allowed:Full Image URLs of SKU. - largeImage
-
Type:
stringlarge image path of the SKU - largeImageURLs
-
Type:
arraylargeImageURLsAdditional Properties Allowed:Large Image URLs of SKU. - listPrice
-
Type:
numberlist price of the SKU - listPrices
-
Type:
objectlistPricesAdditional Properties Allowed:list prices of the SKU in respective price list groups - mediumImageURLs
-
Type:
arraymediumImageURLsAdditional Properties Allowed:Medium Image URLs SKU. - nonreturnable
-
Type:
booleanIndicates whether the SKU is returnable or not. - 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. - repositoryId
-
Type:
stringrepository id of the child SKU - salePrice
-
Type:
numbersale price of the SKU. - salePriceEndDate
-
Type:
stringsale price end date of the SKU - salePrices
-
Type:
objectsalePricesAdditional Properties Allowed:sale prices of the SKU in respective price list groups - salePriceStartDate
-
Type:
stringsale price start date of the SKU. - shippingSurcharge
-
Type:
numberExtra handling cost for shipping the product. - shippingSurcharges
-
Type:
objectshippingSurchargesAdditional Properties Allowed:Extra handling costs for shipping the product in respective price list groups - smallImage
-
Type:
stringsmall image path of the product - smallImageURLs
-
Type:
arraysmallImageURLsAdditional Properties Allowed:Small Image URLs of SKU. - sourceImageURLs
-
Type:
arraysourceImageURLsAdditional Properties Allowed:Source Image URLs of SKU. - thumbImageURLs
-
Type:
arraythumbImageURLsAdditional Properties Allowed:Thumb Image URLs of SKU. - thumbnailImage
-
Type:
stringthumbnail image path of the product
Nested Schema : fullImageURLs
Nested Schema : largeImageURLs
Nested Schema : listPrices
Type:
objectlist prices of the SKU in respective price list groups
- plg1
-
Type:
numberlist price of the SKU in plg1 - plg2
-
Type:
numberlist price of the SKU in plg2
Nested Schema : mediumImageURLs
Nested Schema : salePrices
Type:
objectsale prices of the SKU in respective price list groups
- plg1
-
Type:
numbersale price of the SKU in plg1 - plg2
-
Type:
numbersale price of the SKU in plg2
Nested Schema : shippingSurcharges
Type:
objectExtra handling costs for shipping the product in respective price list groups
- plg1
-
Type:
numberExtra handling costs for shipping the product in plg1 - plg2
-
Type:
numberExtra handling costs for shipping the product in plg2
Nested Schema : smallImageURLs
Nested Schema : sourceImageURLs
Nested Schema : thumbImageURLs
Nested Schema : items
Type:
object- mapKeyPropertyAttribute
-
Type:
stringmap key property - optionId
-
Type:
stringoption Id - optionName
-
Type:
stringoption Name - optionValueMap
-
Type:
objectoptionValueMapAdditional Properties Allowed:{ "type":"string" }mapping of all option values with corresponding option value ids
Nested Schema : optionValueMap
Type:
object-
Type:
string
mapping of all option values with corresponding option value ids
- optionValue
-
Type:
stringOption Value - optionValueId
-
Type:
integerOption Value Id
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",
"nonreturnable":false,
"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,
"nonreturnable":false,
"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:
arrayerrorsAdditional Properties Allowed:An 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",
"nonreturnable": false,
"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,
"nonreturnable": false,
"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": []
}