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:
string
Required:true
the id of the product to retrieve
Query Parameters
- catalogId
-
Type:
string
the catalog ID of the site- storePriceListGroupId
Type:string
the price list group id for which product prices are to be returned
Header Parameters
- X-CCAsset-Language
-
Type:
string
The 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:
boolean
Tells whether product is active. - arrivalDate
-
Type:
string
Arrival date of product. - brand
-
Type:
string
Brand of the product. - childSKUs
-
Type:
array
childSKUsArray having the properties of child SKU of the product. - creationDate
-
Type:
string
Creation Date of the product. - dateAvailable
-
Type:
string
Date Available of the product. - daysAvailable
-
Type:
integer
Days Available of the product. - defaultProductListingSku
-
Type:
object
defaultProductListingSkuDefault Product Listing Sku product - description
-
Type:
string
Description of the product. - displayName
-
Type:
string
Display Name of the product. - dynamicPropertyMapDouble
-
Type:
string
Dynamic property map double. - dynamicPropertyMapLong
-
Type:
string
Dynamic Property Map Long. - dynamicPropertyMapString
-
Type:
string
Dynamic Property MapString. - fullImageURLs
-
Type:
string
Full image URL of the product. - height
-
Type:
string
Height of the product. - id
-
Type:
string
Product ID. - keywords
-
Type:
array
keywordsKeywords of product. - largeImage
-
Type:
object
largeImageHas repository ID and URL of the product. - largeImageURLs
-
Type:
string
Large Image URLs of the product. - length
-
Type:
string
Length of the product. - listPrice
-
Type:
number
List Price of the product in the default price group. - listPrices
-
Type:
object
listPricesObject with price group IDs as keys and list prices as values - longDescription
-
Type:
string
Long description of the product. - mediumImageURLs
-
Type:
array
mediumImageURLsMedium Image URLs. - notForIndividualSale
-
Type:
boolean
States whether not a product may be sold individually rather than, for example, as part of a configured product - onlineOnly
-
Type:
boolean
Tells whether the product is online. - orderable
-
Type:
string
Whether product is orderable. - orderLimit
-
Type:
string
Order limit of the product. - parentCategories
-
Type:
array
parentCategoriesArray having repository ID of the product. - parentCategory
-
Type:
string
Parent category of the product. - primaryFullImageURL
-
Type:
string
Primary full image URL of the product. - primaryImageAltText
-
Type:
string
Alt text for product primary image. - primaryImageTitle
-
Type:
string
Title text for product primary image. - primaryLargeImageURL
-
Type:
string
Primary large image URL of the product. - primaryMediumImageURL
-
Type:
string
Primary Medium Image URL. - primarySmallImageURL
-
Type:
string
Primary Small Image URL of the product. - primarySourceImageURL
-
Type:
string
Primary Source Image URL of the product. - primaryThumbImageURL
-
Type:
string
Primary Thumb Image URL of the product. - productImages
-
Type:
array
productImagesArray of product images. - productImagesMetaData
-
Type:
array
productImagesMetaDataImage Metadata - productNumber
-
Type:
string
Product number. - relatedProducts
-
Type:
array
relatedProductsArray of related products. - repositoryId
-
Type:
string
Repository ID of the product. - route
-
Type:
string
Route of the product. - salePrice
-
Type:
number
Sale Price of the product in the default price group. - salePriceEndDate
-
Type:
string
Sale Price End Date of the product. - salePrices
-
Type:
object
salePricesObject with price group IDs as keys and sale prices as values - salePriceStartDate
-
Type:
string
Sale Price Start Date of the product. - seoDescriptionDerived
-
Type:
string
Derived from display name and description of the product - seoKeywordsDerived
-
Type:
string
Derived from display name and ancestor category name's of the product - seoMetaInfo
-
Type:
object
seoMetaInfoSeo meta info for category. - seoTitleDerived
-
Type:
string
Derived from display name of the product - shippingSurcharge
-
Type:
number
Extra handling cost for shipping the product in the default price group. - shippingSurcharges
-
Type:
object
shippingSurchargesObject with price group IDs as keys and shipping surcharges as values - smallImageURLs
-
Type:
array
smallImageURLsSmall image URL of the product. - sourceImageURLs
-
Type:
array
sourceImageURLsSource image URL. - taxCode
-
Type:
string
Tax Code of the product. - thumbImageURLs
-
Type:
array
thumbImageURLsThumb Image URLs of the product. - translations
-
Type:
string
Translations of the product. - type
-
Type:
string
Type of product. - weight
-
Type:
string
Weight of the product. - width
-
Type:
string
Width of the product.
Nested Schema : childSKUs
Nested Schema : defaultProductListingSku
Nested Schema : keywords
Nested Schema : largeImage
Type:
object
Has repository ID and URL of the product.
- id
-
Type:
string
Repository ID - url
-
Type:
string
Repository URL
Nested Schema : listPrices
Type:
object
Object with price group IDs as keys and list prices as values
- Price Group ID 1
-
Type:
number
List price of the product in price group 1 - Price Group ID 2
-
Type:
number
List price of the product in price group 2
Nested Schema : mediumImageURLs
Nested Schema : parentCategories
Nested Schema : salePrices
Type:
object
Object with price group IDs as keys and sale prices as values
- Price Group ID 1
-
Type:
number
Sale price of the product in price group 1 - Price Group ID 2
-
Type:
number
Sale price of the product in price group 2
Nested Schema : seoMetaInfo
Type:
object
Seo meta info for category.
- repositoryId
-
Type:
string
Repository id of seo metadata. - seoDescription
-
Type:
string
Description of category. - seoKeywords
-
Type:
string
Keywords of category. - seoTitle
-
Type:
string
Title of category.
Nested Schema : shippingSurcharges
Type:
object
Object with price group IDs as keys and shipping surcharges as values
- Price Group ID 1
-
Type:
number
Shipping surcharge of the product in price group 1 - Price Group ID 2
-
Type:
number
Shipping surcharge of the product in price group 2
Nested Schema : smallImageURLs
Nested Schema : sourceImageURLs
Nested Schema : thumbImageURLs
Nested Schema : items
Type:
object
- dynamicPropertyMapLong
-
Type:
string
Dynamic Property MapLong of SKU. - DynamicSKUProperty
-
Type:
string
Dynamic Properties of SKU. - fullImageURLs
-
Type:
array
fullImageURLsFull Image URLs of SKU. - id
-
Type:
string
SKU id - largeImage
-
Type:
string
Large Image of the SKU. - largeImageURLs
-
Type:
array
largeImageURLsLarge Image URLs of SKU. - listPrice
-
Type:
integer
List Price of the product SKU. - mediumImageURLs
-
Type:
array
mediumImageURLsMedium Image URLs SKU. - primaryLargeImageURL
-
Type:
string
Primary Large Image URL of SKU. - primaryMediumImageURL
-
Type:
string
Primary Medium Image URL ID of SKU. - primarySmallImageURL
-
Type:
string
Primary Small Image URL of SKU. - primarySourceImageURL
-
Type:
string
Primary Source Image URL of SKU. - primaryThumbImageURL
-
Type:
string
Primary Source Image URL of SKU. - quantity
-
Type:
integer
Quantity available of SKU. - repositoryId
-
Type:
string
Repository ID of SKU. - salePrice
-
Type:
string
Sale Price of SKU. - salePriceEndDate
-
Type:
string
Sale Price End Date of the SKU. - salePriceStartDate
-
Type:
string
Sale Price Start Date of SKU. - shippingSurcharge
-
Type:
integer
Extra handling cost while shipping the product. - smallImage
-
Type:
string
Small Image URL of SKU. - smallImageURLs
-
Type:
array
smallImageURLsSmall Image URLs of SKU. - sourceImageURLs
-
Type:
array
sourceImageURLsSource Image URLs of SKU. - thumbImageURLs
-
Type:
array
thumbImageURLsThumb Image URLs of SKU. - thumbnailImage
-
Type:
string
Thumbnail 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:
string
Repository ID of product.
Nested Schema : items
Type:
object
- metadata
-
Type:
object
metadataSeo meta info for product. - name
-
Type:
string
The name of product image - path
-
Type:
string
The path of the image - repositoryId
-
Type:
string
The repository Id of the product image - tags
-
Type:
array
tagsThe array of product image tags - url
-
Type:
string
The url of the product image
Nested Schema : metadata
Type:
object
Seo meta info for product.
- altText
-
Type:
string
The alt text of the image - titleText
-
Type:
string
The title text of the image
Nested Schema : items
Type:
object
- altText
-
Type:
string
Alt text for product image. - titleText
-
Type:
string
Title 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:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - errors
-
Type:
array
errorsAn optional list of errors if multiple errors were encountered - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code - type
-
Type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The 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": [] }