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(optional): string
the list of SKU IDs
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getAllSKUsPrices_response
Type:
Show Source
object
-
If the returned type is a SKU or default(optional):
object If the returned type is a SKU or default
Result object having SKU related information.
Nested Schema : If the returned type is a SKU or default
Type:
object
Result object having SKU related information.
Show Source
-
complexPrice(optional):
object complexPrice
The complex price of the sku.
-
listPrice(optional):
number
The list price of the SKU.
-
salePrice(optional):
number
The sale price of the SKU.
Nested Schema : complexPrice
Type:
object
The complex price of the sku.
Show Source
-
levels(optional):
array levels
Price levels of the Complex price.
Nested Schema : items
Type:
Show Source
object
-
levelMaximum(optional):
number
The maximum quantity associated with this level.
-
levelMinimum(optional):
number
The minimum quantity associated with this level.
-
price(optional):
number
The price associated with this level.
Example Response (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
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code