getAllSKUsPrices

get

/ccstore/v1/prices/skus

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

Request

Supported Media Types
  • application/json
Query Parameters
ids
Type: string
the list of SKU IDs

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getAllSKUsPrices_response
Nested Schema : If the returned type is a SKU or default
Type: object
Result object having SKU related information.
Nested Schema : complexPrice
Type: object
The complex price of the sku.
Nested Schema : levels
Type: array
Price levels of the Complex price.
Nested Schema : items
Type: object
Example application/json

[
    {
        "sku30081":{
            "salePrice":null,
            "listPrice":19.99
        }
    },
    {
        "sku30083":{
            "salePrice":null,
            "listPrice":19.99
        }
    },
    {
        "sku30051":{
            "salePrice":null,
            "listPrice":42.99
        }
    }
]
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:

[
  {"sku30081": {
    "salePrice": null,
    "listPrice": 19.99
  }},
  {"sku30083": {
    "salePrice": null,
    "listPrice": 19.99
  }},
  {"sku30051": {
    "salePrice": null,
    "listPrice": 42.99
  }}
]