listPrices

get

/ccadmin/v1/prices

List Prices. Returns a list of lisPrices, salePrices and shippingSurchargePrices for a specific priceListGroupId.

Request

Supported Media Types
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : listPrices_response
Type: object
Show Source
Nested Schema : items
Type: array
List of Prices
Show Source
Nested Schema : sort
Type: array
Sorting criteria.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : priceList
Type: object
The price list for this price
Show Source
Nested Schema : volumePrice
Type: object
Volume price
Show Source
Nested Schema : levels
Type: array
Levels
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "total":2,
    "totalResults":2,
    "offset":0,
    "limit":250,
    "sort":[
        {
            "property":"priceList",
            "order":"asc"
        }
    ],
    "items":[
        {
            "productId":"Product_13CD",
            "endDate":null,
            "pricingScheme":"listPrice",
            "volumePrice":null,
            "repositoryId":"p121007",
            "parentSkuId":null,
            "startDate":null,
            "listPrice":2,
            "skuId":null,
            "priceList":{
                "repositoryId":"new1_listPrices"
            }
        },
        {
            "productId":"Product_13CD",
            "endDate":null,
            "pricingScheme":"bulkPrice",
            "volumePrice":{
                "repositoryId":"cxp10003",
                "levels":[
                    {
                        "quantity":1,
                        "price":25,
                        "repositoryId":"plvl10003"
                    },
                    {
                        "quantity":5,
                        "price":20,
                        "repositoryId":"plvl10004"
                    }
                ]
            },
            "repositoryId":"p141006",
            "parentSkuId":null,
            "startDate":null,
            "listPrice":null,
            "skuId":"Sku_13DE",
            "priceList":{
                "repositoryId":"new1_listPrices"
            }
        }
    ]
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |100177|Error getting prices.|
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