getSku
get
/ccstore/v1/skus/{id}
Get Sku. Gets the data and related selected options of a SKU.
Request
Supported Media Types
- application/json
Path Parameters
- id
-
Type:
stringRequired:trueThe skuId.
Query Parameters
- storePriceListGroupId
-
Type:
stringThe price list group id of the current Store.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getSku_response
- items
-
Type:
objectitemssku details with pricing and variant information
Nested Schema : items
Type:
objectsku details with pricing and variant information
- configurable
-
Type:
booleanIndicates whether SKU is configurable - largeImage
-
Type:
objectlargeImagelarge image - listPrice
-
Type:
integerList price of the SKU. - parentProducts
-
Type:
objectparentProductsArray having parent products. - quantity
-
Type:
integerQuantity of the SKU. - repositoryId
-
Type:
stringRepository ID of the SKU. - salePrice
-
Type:
stringSale price of the SKU. - salePriceEndDate
-
Type:
integerSale price end date of the SKU. - salePriceStartDate
-
Type:
stringSale price start date of the SKU. - smallImage
-
Type:
objectsmallImageSmall image of Sku - thumbnailImage
-
Type:
stringThumbnail image of the SKU.
Nested Schema : largeImage
Nested Schema : parentProducts
Type:
objectArray having parent products.
- active
-
Type:
booleanFlag indicating whether a product is active - avgCustRating
-
Type:
stringAverage customer rating of the product. - childSKUs
-
Type:
objectchildSKUsArray having properties of child SKU. - description
-
Type:
stringDescription of the product. - displayName
-
Type:
stringDisplay name of the product. - fullImageURLs
-
Type:
arrayfullImageURLsFull image URLs of the product. - id
-
Type:
stringID of the product. - largeImage
-
Type:
objectlargeImageArray having repository ID and URL of the large image of SKU. - largeImageURLs
-
Type:
arraylargeImageURLsLarge image URLs of the product. - listPrice
-
Type:
numberList price of the product. - listVolumePrice
-
Type:
numberList volume price of the product. - longDescription
-
Type:
stringLong description of the product. - mediumImageURLs
-
Type:
arraymediumImageURLsMedium image URLs of the product. - orderLimit
-
Type:
stringOrder limit of the product. - primaryFullImageURL
-
Type:
stringPrimary full image URL of the product. - primaryLargeImageURL
-
Type:
stringPrimary large image URL of the product. - 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. - productNumber
-
Type:
stringProduct number of the product. - repositoryId
-
Type:
stringRepository id of the product. - route
-
Type:
stringRoute of the product. - salePrice
-
Type:
integerSale price of the product. - saleVolumePrice
-
Type:
numberSale volume price of the product. - smallImage
-
Type:
objectsmallImageArray having repository ID and URL of small image of the SKU. - smallImageURLs
-
Type:
arraysmallImageURLsSmall image URLs of the product. - sourceImageURLs
-
Type:
arraysourceImageURLsSource image URLs of the product. - thumbImageURLs
-
Type:
arraythumbImageURLsThumb image URLs of the product.
Nested Schema : smallImage
Type:
objectSmall image of Sku
- repositoryId
-
Type:
stringrepository Id - url
-
Type:
stringURL
Nested Schema : childSKUs
Type:
objectArray having properties of child SKU.
- repositoryId
-
Type:
stringRepository ID of the SKU.
Nested Schema : fullImageURLs
Nested Schema : largeImage
Type:
objectArray having repository ID and URL of the large image of SKU.
- repositoryId
-
Type:
stringRepository ID of SKU. - url
-
Type:
stringURL of SKU.
Nested Schema : largeImageURLs
Nested Schema : mediumImageURLs
Nested Schema : smallImage
Type:
objectArray having repository ID and URL of small image of the SKU.
- repositoryId
-
Type:
stringRepository ID of SKU. - url
-
Type:
stringURL of SKU.
Nested Schema : smallImageURLs
Nested Schema : sourceImageURLs
Nested Schema : thumbImageURLs
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
Example application/json
{
"productFamily":null,
"dynamicPropertyMapLong":{
},
"primaryThumbImageURL":null,
"largeImage":null,
"smallImage":null,
"listVolumePrice":null,
"salePrices":{
"defaultPriceGroup":null
},
"primaryFullImageURL":null,
"listPrices":{
"defaultPriceGroup":19.99
},
"productVariantOptions":[
[
]
],
"productListingSku":null,
"largeImageURLs":[
],
"productLine":null,
"listVolumePrices":{
"defaultPriceGroup":null
},
"primaryLargeImageURL":null,
"smallImageURLs":[
],
"model":null,
"links":[
{
"rel":"self",
"href":"http://localhost:8080/ccstoreui/v1/skus/sku10009"
}
],
"thumbnailImage":null,
"barcode":"200000002022",
"saleVolumePrices":{
"defaultPriceGroup":null
},
"salePriceEndDate":null,
"saleVolumePrice":null,
"salePriceStartDate":null,
"images":[
],
"quantity":null,
"unitOfMeasure":null,
"salePrice":null,
"primaryMediumImageURL":null,
"fullImageURLs":[
],
"thumbImageURLs":[
],
"___etag___":"eyJ2ZXJzaW9uIjowLCJ1cmkiOiIvY2NzdG9yZS92MS9za3VzL3NrdTEwMDA5IiwiaGFzaCI6Im85L3laUzJyeHUwVHdHU0FyVzhpeERnUXFnQWtWREYwUzFUaEZoQ1pEWWc9In0=",
"variantValuesOrder":{
},
"parentProducts":[
{
"listVolumePrice":null,
"relatedProducts":null,
"orderLimit":null,
"CountryOfOrigin":"US",
"listPrices":{
"defaultPriceGroup":19.99
},
"type":null,
"largeImageURLs":[
"/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=940&width=940"
],
"listVolumePrices":{
"defaultPriceGroup":null
},
"primaryImageAltText":"Coaxial Audio Cable",
"id":"prod10027",
"brand":null,
"parentCategories":[
{
"repositoryId":"cat60043"
},
{
"repositoryId":"AllProdPagination"
}
],
"height":null,
"defaultProductListingSku":null,
"unitOfMeasure":null,
"primaryMediumImageURL":"/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=475&width=475",
"seoUrlSlugDerived":"Coaxial Audio Cable",
"weight":null,
"active":true,
"thumbImageURLs":[
"/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=100&width=100"
],
"route":"/coaxial-audio-cable/product/prod10027",
"relatedArticles":[
],
"mediumImageURLs":[
"/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=475&width=475"
],
"primarySourceImageURL":"/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=300&width=300",
"parentCategory":null,
"sourceImageURLs":[
"/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=300&width=300"
],
"primarySmallImageURL":"/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=300&width=300",
"avgCustRating":4.5,
"longDescription":null,
"primaryThumbImageURL":"/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=100&width=100",
"displayName":"Coaxial Audio Cable",
"description":"A really great movie that you should not miss.",
"salePrices":{
"defaultPriceGroup":null
},
"primaryFullImageURL":"/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg",
"parentCategoriesAncestorCategories":[
{
"repositoryId":"rootCategory"
},
{
"repositoryId":"cat60023"
},
{
"repositoryId":"cat60035"
},
{
"repositoryId":"rootCategory"
}
],
"primaryLargeImageURL":"/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=940&width=940",
"smallImageURLs":[
"/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=300&width=300"
],
"shippingSurcharges":{
"defaultPriceGroup":null
},
"saleVolumePrices":{
"defaultPriceGroup":null
},
"primaryImageTitle":"Coaxial Audio Cable",
"saleVolumePrice":null,
"relatedMediaContent":[
],
"salePrice":null,
"fullImageURLs":[
"/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg"
],
"length":null,
"notForIndividualSale":false,
"repositoryId":"prod10027",
"width":null,
"shippingSurcharge":null,
"fractionalQuantitiesAllowed":false,
"productImagesMetadata":[
{
}
],
"configurable":false,
"ancestorCategoriesForFullDeploy":[
],
"listPrice":19.99
}
],
"mediumImageURLs":[
],
"repositoryId":"sku10009",
"primarySourceImageURL":null,
"fractionalQuantitiesAllowed":false,
"primarySmallImageURL":null,
"sourceImageURLs":[
],
"listPrice":19.99,
"configurable":false
}
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:
{
"productFamily": null,
"dynamicPropertyMapLong": {},
"primaryThumbImageURL": null,
"largeImage": null,
"smallImage": null,
"listVolumePrice": null,
"salePrices": {"defaultPriceGroup": null},
"primaryFullImageURL": null,
"listPrices": {"defaultPriceGroup": 19.99},
"productVariantOptions": [[]],
"productListingSku": null,
"largeImageURLs": [],
"productLine": null,
"listVolumePrices": {"defaultPriceGroup": null},
"primaryLargeImageURL": null,
"smallImageURLs": [],
"model": null,
"links": [{
"rel": "self",
"href": "http://localhost:8080/ccstoreui/v1/skus/sku10009"
}],
"thumbnailImage": null,
"barcode": "200000002022",
"saleVolumePrices": {"defaultPriceGroup": null},
"salePriceEndDate": null,
"saleVolumePrice": null,
"salePriceStartDate": null,
"images": [],
"quantity": null,
"unitOfMeasure": null,
"salePrice": null,
"primaryMediumImageURL": null,
"fullImageURLs": [],
"thumbImageURLs": [],
"___etag___": "eyJ2ZXJzaW9uIjowLCJ1cmkiOiIvY2NzdG9yZS92MS9za3VzL3NrdTEwMDA5IiwiaGFzaCI6Im85L3laUzJyeHUwVHdHU0FyVzhpeERnUXFnQWtWREYwUzFUaEZoQ1pEWWc9In0=",
"variantValuesOrder": {},
"parentProducts": [{
"listVolumePrice": null,
"relatedProducts": null,
"orderLimit": null,
"CountryOfOrigin": "US",
"listPrices": {"defaultPriceGroup": 19.99},
"type": null,
"largeImageURLs": ["/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=940&width=940"],
"listVolumePrices": {"defaultPriceGroup": null},
"primaryImageAltText": "Coaxial Audio Cable",
"id": "prod10027",
"brand": null,
"parentCategories": [
{"repositoryId": "cat60043"},
{"repositoryId": "AllProdPagination"}
],
"height": null,
"defaultProductListingSku": null,
"unitOfMeasure": null,
"primaryMediumImageURL": "/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=475&width=475",
"seoUrlSlugDerived": "Coaxial Audio Cable",
"weight": null,
"active": true,
"thumbImageURLs": ["/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=100&width=100"],
"route": "/coaxial-audio-cable/product/prod10027",
"relatedArticles": [],
"mediumImageURLs": ["/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=475&width=475"],
"primarySourceImageURL": "/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=300&width=300",
"parentCategory": null,
"sourceImageURLs": ["/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=300&width=300"],
"primarySmallImageURL": "/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=300&width=300",
"avgCustRating": 4.5,
"longDescription": null,
"primaryThumbImageURL": "/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=100&width=100",
"displayName": "Coaxial Audio Cable",
"description": "A really great movie that you should not miss.",
"salePrices": {"defaultPriceGroup": null},
"primaryFullImageURL": "/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg",
"parentCategoriesAncestorCategories": [
{"repositoryId": "rootCategory"},
{"repositoryId": "cat60023"},
{"repositoryId": "cat60035"},
{"repositoryId": "rootCategory"}
],
"primaryLargeImageURL": "/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=940&width=940",
"smallImageURLs": ["/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg&height=300&width=300"],
"shippingSurcharges": {"defaultPriceGroup": null},
"saleVolumePrices": {"defaultPriceGroup": null},
"primaryImageTitle": "Coaxial Audio Cable",
"saleVolumePrice": null,
"relatedMediaContent": [],
"salePrice": null,
"fullImageURLs": ["/ccstore/v1/images/?source=/file/products/coaxialcable_LARGE.jpg"],
"length": null,
"notForIndividualSale": false,
"repositoryId": "prod10027",
"width": null,
"shippingSurcharge": null,
"fractionalQuantitiesAllowed": false,
"productImagesMetadata": [{}],
"configurable": false,
"ancestorCategoriesForFullDeploy": [],
"listPrice": 19.99
}],
"mediumImageURLs": [],
"repositoryId": "sku10009",
"primarySourceImageURL": null,
"fractionalQuantitiesAllowed": false,
"primarySmallImageURL": null,
"sourceImageURLs": [],
"listPrice": 19.99,
"configurable": false
}