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: string
Required: true
The skuId.
Query Parameters
storePriceListGroupId
Type: string
The 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
Nested Schema : fullImageURLs
Type: array
The array of full image URLs
Nested Schema : images
Type: array
Image URLs of SKU.
Nested Schema : largeImageURLs
Type: array
Large Image URLs of SKU.
Nested Schema : listPrices
Type: object
list prices of the product in respective price list groups
Nested Schema : listVolumePrices
Type: object
list volume prices of the product in respective price list groups
Nested Schema : mediumImageURLs
Type: array
medium image urls path
Nested Schema : parentProducts
Type: array
The list of parent products for the SKU.
Nested Schema : productListingSku
Type: object
product listing SKU property of the SKU
Nested Schema : productVariantOptions
Type: array
The selected options for the SKU.
Nested Schema : salePrices
Type: object
sale prices of the product in respective price list groups
Nested Schema : saleVolumePrices
Type: object
Sale volume prices of the product in respective price list groups
Nested Schema : smallImage
Type: array
The array of small image URLs
Nested Schema : smallImageURLs
Type: array
small image url paths
Nested Schema : sourceImageURLs
Type: array
Source Image URLs of SKU.
Nested Schema : thumbImageURLs
Type: array
Thumb Image URLs of SKU
Nested Schema : variantValuesOrder
Type: object
Object having various variant property as key and ordered values array as the value.
Nested Schema : items
Type: object
Nested Schema : defaultProductListingSku
Type: object
default SKU for the product
Nested Schema : fullImageURLs
Type: array
full image url paths
Nested Schema : largeImageURLs
Type: array
The array of large image URLs
Nested Schema : listPrices
Type: object
list prices of the product in respective price list groups
Nested Schema : listVolumePrices
Type: object
list volume prices of the product in respective price list groups
Nested Schema : mediumImageURLs
Type: array
Medium Image URLs SKU.
Nested Schema : salePrices
Type: object
sale prices of the product in respective price list groups
Nested Schema : saleVolumePrices
Type: object
Sale volume prices of the product in respective price list groups
Nested Schema : shippingSurcharges
Type: object
Extra handling costs for shipping the product in respective price list groups
Nested Schema : smallImageURLs
Type: array
The urls of the small image.
Nested Schema : sourceImageURLs
Type: array
source image urls of the product
Nested Schema : thumbImageURLs
Type: array
Thumb Image URLs of product
Nested Schema : items
Type: object
Example application/json

{
    "productFamily":null,
    "dynamicPropertyMapLong":{
    },
    "primaryThumbImageURL":null,
    "largeImage":null,
    "smallImage":null,
    "listVolumePrice":null,
    "nonreturnable":false,
    "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":[
    ],
    "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",
            "nonreturnable":false,
            "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
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Response Payload returned by endpoint:

{
  "productFamily": null,
  "dynamicPropertyMapLong": {},
  "primaryThumbImageURL": null,
  "largeImage": null,
  "smallImage": null,
  "listVolumePrice": null,
  "nonreturnable": false,
  "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": [],
  "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",
    "nonreturnable": false,
    "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
}