getAllPrices

get

/ccstore/v1/prices/{id}

Get All Prices. Return the the list, sale and complex prices for the product or SKU. Optionally takes the x-ccasset-language header to get translated content in another language.

Request

Supported Media Types
Path Parameters
Query Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getAllPrices_response
Type: object
Show Source
Nested Schema : If the returned type is a product or default
Type: object
All prices information for the specified product
Show Source
Nested Schema : If the returned type is a sku.
Type: object
List price and sale price information for the SKU.
Show Source
Nested Schema : skuPrices
Type: array
The array of SKU data.
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "skuPrices":[
        {
            "salePrice":null,
            "bulkPrice":{
                "numLevels":4,
                "levels":[
                    {
                        "price":19.99,
                        "levelMinimum":1,
                        "levelMaximum":10
                    },
                    {
                        "price":16.25,
                        "levelMinimum":11,
                        "levelMaximum":20
                    },
                    {
                        "price":12.35,
                        "levelMinimum":21,
                        "levelMaximum":30
                    },
                    {
                        "price":10.25,
                        "levelMinimum":31
                    }
                ]
            },
            "skuId":"sku30081",
            "listPrice":19.99
        },
        {
            "tieredPrice":{
                "numLevels":4,
                "levels":[
                    {
                        "price":19.99,
                        "levelMinimum":1,
                        "levelMaximum":10
                    },
                    {
                        "price":16.25,
                        "levelMinimum":11,
                        "levelMaximum":20
                    },
                    {
                        "price":12.35,
                        "levelMinimum":21,
                        "levelMaximum":30
                    },
                    {
                        "price":10.25,
                        "levelMinimum":31
                    }
                ]
            },
            "salePrice":null,
            "skuId":"sku30083",
            "listPrice":19.99
        },
        {
            "salePrice":null,
            "bulkPrice":{
                "numLevels":4,
                "levels":[
                    {
                        "price":19.99,
                        "levelMinimum":1,
                        "levelMaximum":10
                    },
                    {
                        "price":16.25,
                        "levelMinimum":11,
                        "levelMaximum":20
                    },
                    {
                        "price":12.35,
                        "levelMinimum":21,
                        "levelMaximum":30
                    },
                    {
                        "price":10.25,
                        "levelMinimum":31
                    }
                ]
            },
            "skuId":"sku30085",
            "listPrice":19.99
        },
        {
            "salePrice":null,
            "skuId":"sku30087",
            "listPrice":19.99
        },
        {
            "salePrice":null,
            "skuId":"sku30089",
            "listPrice":19.99
        },
        {
            "salePrice":null,
            "skuId":"sku30091",
            "listPrice":19.99
        },
        {
            "salePrice":null,
            "skuId":"sku30093",
            "listPrice":19.99
        },
        {
            "salePrice":null,
            "skuId":"sku30095",
            "listPrice":19.99
        },
        {
            "salePrice":null,
            "skuId":"sku30097",
            "listPrice":19.99
        },
        {
            "salePrice":null,
            "skuId":"sku30099",
            "listPrice":19.99
        },
        {
            "salePrice":null,
            "skuId":"sku30101",
            "listPrice":19.99
        },
        {
            "salePrice":null,
            "skuId":"sku30103",
            "listPrice":19.99
        }
    ],
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:8080/ccstore/v1/prices/prod10007"
        }
    ],
    "list":19.99,
    "priceRange":false
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top