listSkus
get
/ccadmin/v1/skus
List Skus. Gets a list of SKUs and its properties. Optionally, search for SKUs in the given catalog by performing a case-insensitive, partial-match on the display name or ID. Optionally, filtered by 'q' parameter. Optionally, takes the x-ccasset-language header to get translated content in another language.
To get the list of SKUs by SKU ids, use skuIds parameter.
Request
Supported Media Types
- application/json
Query Parameters
-
catalogId: string
ID of the catalog.
-
expand: boolean
Boolean indicating whether to return a larger set of SKU properties. Default value is false.
-
includePrices: boolean
Boolean flag to determine whether to include price maps for the skus in the response. Default value is true.
-
itemTypeList: string
Type of sku list associated with the given promotion id -includedSkus or excludedSkus
-
name: string
Partial displayName or id of a SKU to use for search.
-
pageResults: boolean
Return response with paginated pattern, to be used with query param skuIds or promotion group {promotionId, itemTypeList, templateValue}. Default value is false.
-
priceListGroupId: string
Price list group id for adding the prices to the SKU in the response.
-
promotionId: string
The promotion id for the included/excluded SKUs list. If promotionId is included then include the itemTypeList and templateValue parameters to get the include/exclude sku list for the promotion
-
q: string
Contains SCIM query language
-
showInactiveSkus: boolean
Boolean flag to determine whether to include inactive SKUs as part of the result. Default value is true.
-
showSkuBundles: boolean
Boolean flag to determine whether to include SKU bundles as part of the result. Default value is true.
-
showTranslations: boolean
Boolean indicating if the translations property should be returned for each item in the response. Default value is false.
-
skuIds: string
SKU IDs to list.
-
templateValue: string
UI Template value associated with the included/excluded SKUs list - e.g PSC_Value, optional_offer_psc_value etc
-
withPrices: boolean
Boolean flag to determine whether prices will be returned or not; not returning prices will skip performing any price lookup for the SKUs. Default is true. Setting this to false will supersede 'includePrices'.
Header Parameters
-
X-CCAsset-Language: string
The asset language of the request
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : listSkus_response
Type:
Show Source
object
-
items:
array items
items
-
limit:
integer
limit
-
links:
array links
links
-
offset:
integer
offset
-
sort:
array sort
sort
-
total:
integer
total
-
totalResults:
integer
totalResults
Nested Schema : items
Type:
Show Source
object
-
auxiliaryMedia:
object auxiliaryMedia
auxiliaryMedia
-
barcode:
string
barcode
-
catalogs:
array catalogs
catalogs
-
catalogsReplacementProducts:
array catalogsReplacementProducts
catalogs replacement products
-
color:
string
color
-
computedCatalogs:
array computedCatalogs
computed catalogs
-
configurable:
boolean
Indicates whether a sku is configurable
-
configurationMetadata:
array configurationMetadata
Array of configuration attributes associated with the SKU.
-
creationDate:
string
creationDate
-
derivedCatalogs:
array derivedCatalogs
Derived catalogs
-
derivedListPriceFrom:
string
Determines from which price list group, list price is derived. It can be either current price list group or one of it's ancestors
-
derivedOnlineOnly:
boolean
Indicates if the SKU is available online or not.
-
derivedSalePriceFrom:
string
Determines from which price list group, sale price is derived. It can be either current price list group or one of it's ancestors
-
derivedShippingSurchargeFrom:
string
Determines from which price list group, shipping surcharge is derived. It can be either current price list group or one of it's ancestors
-
description:
string
description
-
discountable:
boolean
discountable
-
displayName:
string
displayName
-
dynamicPropertyMapLong:
object dynamicPropertyMapLong
dynamicPropertyMapLong
-
endDate:
string
endDate
-
fractionalQuantitiesAllowed:
boolean
fractionalQuantitiesAllowed
-
fulfiller:
string
fulfiller
-
fullImageURLs:
array fullImageURLs
fullImageURLs
-
id:
string
id
-
itemAcl:
string
item Acl
-
largeImage:
object largeImage
large image
-
largeImageURLs:
array largeImageURLs
largeImageURLs
-
listPrice:
number
listPrice
-
listPrices:
object listPrices
listPrices
-
manufacturer_part_number:
string
manufacturer_part_number
-
mediumImageURLs:
array mediumImageURLs
mediumImageURLs
-
nonreturnable:
boolean
nonreturnable
-
onSale:
boolean
onSale
-
parentProducts:
array parentProducts
array of parent products
-
primaryFullImageURL:
string
primaryFullImageURL
-
primaryLargeImageURL:
string
primaryLargeImageURL
-
primaryMediumImageURL:
string
primaryMediumImageURL
-
primarySmallImageURL:
string
primarySmallImageURL
-
primarySourceImageURL:
string
primarySourceImageURL
-
primaryThumbImageURL:
string
primaryThumbImageURL
-
productListingSku:
string
productListingSku
-
quantity:
integer
quantity
-
repositoryId:
string
repositoryId
-
salePrice:
number
salePrice
-
salePriceEndDate:
string
salePriceEndDate
-
salePrices:
object salePrices
salePrices
-
salePriceStartDate:
string
salePriceStartDate
-
shippingSurcharge:
number
Extra handling costs while shipping the product, in the default price group.
-
shippingSurcharges:
object shippingSurcharges
Extra handling costs for shipping the product in respective price list groups
-
siteIds:
string
siteIds
-
size:
string
size
-
smallImage:
object smallImage
Small image
-
smallImageURLs:
array smallImageURLs
smallImageURLs
-
soldAsPackage:
boolean
Indicates whether the SKU as a single package otherwise consider the SKU where sub-items can be shipped/fulfilled separately.
-
sourceImageURLs:
array sourceImageURLs
sourceImageURLs
-
startDate:
string
startDate
-
thumbImageURLs:
array thumbImageURLs
thumbImageURLs
-
thumbnailImage:
object thumbnailImage
thumbnailImage
-
translations:
object translations
translations
-
type:
string
type
-
unit_of_measure:
string
unit_of_measure
-
unitOfMeasure:
string
unitOfMeasure
-
variant:
array variant
Product Variant Information.
-
variantOptions:
string
variantOptions
-
version:
integer
version
-
wholesalePrice:
number
wholesalePrice
Nested Schema : auxiliaryMedia
Type:
object
auxiliaryMedia
Nested Schema : configurationMetadata
Type:
array
Array of configuration attributes associated with the SKU.
Show Source
Nested Schema : dynamicPropertyMapLong
Type:
object
dynamicPropertyMapLong
Show Source
-
sku-WomensApparel_color:
integer
sku-WomensApparel_color
-
sku-WomensApparel_size:
integer
sku-WomensApparel_size
Nested Schema : largeImage
Type:
object
large image
Show Source
-
repositoryId:
string
repository Id
-
url:
string
URL
Nested Schema : listPrices
Type:
object
listPrices
Show Source
-
defaultPriceGroup:
number
defaultPriceGroup
Nested Schema : salePrices
Type:
object
salePrices
Show Source
-
defaultPriceGroup:
string
defaultPriceGroup
Nested Schema : shippingSurcharges
Type:
object
Extra handling costs for shipping the product in respective price list groups
Show Source
-
plg1:
number
Extra handling costs for shipping the product in plg1
-
plg2:
number
Extra handling costs for shipping the product in plg2
Nested Schema : smallImage
Type:
object
Small image
Show Source
-
repositoryId:
string
repository Id
-
url:
string
URL
Nested Schema : thumbnailImage
Type:
object
thumbnailImage
Show Source
-
repositoryId:
string
repository Id
-
url:
string
URL
Nested Schema : items
Type:
Show Source
object
-
name:
string
The name of the configuration attribute.
-
repositoryId:
string
The repository id for existing configuration metadata items.
-
value:
string
The value of the configuration attribute.
Nested Schema : items
Type:
Show Source
object
-
active:
boolean
active
-
addOnProducts:
array addOnProducts
Array of AddOn products.
-
avgCustRating:
string
avgCustRating
-
childSKUs:
array childSKUs
childSKUs
-
derivedListPriceFrom:
string
Determines from which price list group, list price is derived. It can be either current price list group or one of it's ancestors
-
derivedSalePriceFrom:
string
Determines from which price list group, sale price is derived. It can be either current price list group or one of it's ancestors
-
derivedShippingSurchargeFrom:
string
Determines from which price list group, shipping surcharge is derived. It can be either current price list group or one of it's ancestors
-
description:
string
description
-
displayName:
string
The display name of the SKU
-
fullImageURLs:
array fullImageURLs
fullImageURLs
-
id:
string
id
-
largeImage:
object largeImage
large image
-
largeImageURLs:
array largeImageURLs
largeImageURLs
-
listPrice:
number
listPrice
-
longDescription:
string
longDescription
-
mediumImageURLs:
array mediumImageURLs
mediumImageURLs
-
onlineOnly:
boolean
online only property
-
orderLimit:
integer
orderLimit
-
primaryFullImageURL:
string
primaryFullImageURL
-
primaryLargeImageURL:
string
primaryLargeImageURL
-
primaryMediumImageURL:
string
primaryMediumImageURL
-
primarySmallImageURL:
string
primarySmallImageURL
-
primarySourceImageURL:
string
primarySourceImageURL
-
primaryThumbImageURL:
string
primaryThumbImageURL
-
productImages:
array productImages
productImages
-
repositoryId:
string
repositoryId
-
route:
string
route
-
salePrice:
number
salePrice
-
shippingSurcharge:
number
shippingSurcharge
-
smallImage:
object smallImage
Small image
-
smallImageURLs:
array smallImageURLs
smallImageURLs
-
sourceImageURLs:
array sourceImageURLs
sourceImageURLs
-
thumbImageURLs:
array thumbImageURLs
thumbImageURLs
Nested Schema : addOnProducts
Type:
array
Array of AddOn products.
Show Source
-
Array of:
object items
AddOn product.
Nested Schema : largeImage
Type:
object
large image
Show Source
-
repositoryId:
string
repository Id
-
url:
string
URL
Nested Schema : smallImage
Type:
object
Small image
Show Source
-
repositoryId:
string
repository Id
-
url:
string
URL
Nested Schema : items
Type:
object
AddOn product.
Show Source
-
configurationOptions:
array configurationOptions
Array of configuration options.
-
id:
string
Repository ID
-
repositoryId:
string
Repository ID of configurable product.
Nested Schema : items
Type:
Show Source
object
-
id:
string
Repository ID
-
product:
object product
Product Details
-
repositoryId:
string
Repository ID of configuration option.
-
sku:
object sku
Sku Details
Nested Schema : product
Type:
object
Product Details
Show Source
-
displayName:
string
Display name of product.
-
id:
string
Repository ID
-
repositoryId:
string
Repository ID of product.
-
type:
string
Type of product.
Nested Schema : sku
Type:
object
Sku Details
Show Source
-
id:
string
Repository ID
-
repositoryId:
string
Repository ID of sku.
Nested Schema : items
Type:
Show Source
object
-
optionName:
string
Name of the Dynamic attribute.
-
optionValue:
string
Value of the Dynamic attribute.
Example Response (application/json)
{
"total":4,
"totalResults":4,
"offset":0,
"limit":250,
"links":[
{
"rel":"self",
"href":"http://localhost:9080/ccadminui/v1/skus?name=sku1000&pageResults=true"
}
],
"sort":[
{
"property":"displayName",
"order":"asc"
}
],
"items":[
{
"dynamicPropertyMapLong":{
},
"bundleLinks":[
],
"largeImage":null,
"smallImage":null,
"listVolumePrice":null,
"listPrices":{
"defaultPriceGroup":199.99
},
"configurationMetadata":[
],
"largeImageURLs":[
],
"productLine":null,
"listVolumePrices":{
"defaultPriceGroup":null
},
"derivedSalePriceFrom":"UsDollar",
"model":null,
"barcode":"200000001995",
"salePriceEndDate":null,
"images":[
],
"unitOfMeasure":null,
"primaryMediumImageURL":null,
"dynamicPropertyMapBigString":{
},
"active":true,
"thumbImageURLs":[
],
"mediumImageURLs":[
],
"primarySourceImageURL":null,
"primarySmallImageURL":null,
"sourceImageURLs":[
],
"productFamily":null,
"primaryThumbImageURL":null,
"nonreturnable":false,
"displayName":null,
"salePrices":{
"defaultPriceGroup":null
},
"primaryFullImageURL":null,
"productListingSku":null,
"primaryLargeImageURL":null,
"smallImageURLs":[
],
"derivedShippingSurchargeFrom":"UsDollar",
"shippingSurcharges":{
"defaultPriceGroup":null
},
"thumbnailImage":null,
"discountable":true,
"saleVolumePrices":{
"defaultPriceGroup":null
},
"saleVolumePrice":null,
"salePriceStartDate":null,
"quantity":null,
"salePrice":null,
"fullImageURLs":[
],
"soldAsPackage":false,
"repositoryId":"sku10005",
"derivedListPriceFrom":"UsDollar",
"shippingSurcharge":null,
"listPrice":199.99,
"configurable":false
},
{
"dynamicPropertyMapLong":{
},
"bundleLinks":[
],
"largeImage":null,
"smallImage":null,
"listVolumePrice":null,
"listPrices":{
"defaultPriceGroup":199.99
},
"configurationMetadata":[
],
"largeImageURLs":[
],
"productLine":null,
"listVolumePrices":{
"defaultPriceGroup":null
},
"derivedSalePriceFrom":"UsDollar",
"model":null,
"barcode":"200000002008",
"salePriceEndDate":null,
"images":[
],
"unitOfMeasure":null,
"primaryMediumImageURL":null,
"dynamicPropertyMapBigString":{
},
"active":true,
"thumbImageURLs":[
],
"mediumImageURLs":[
],
"primarySourceImageURL":null,
"primarySmallImageURL":null,
"sourceImageURLs":[
],
"productFamily":null,
"primaryThumbImageURL":null,
"nonreturnable":false,
"displayName":null,
"salePrices":{
"defaultPriceGroup":null
},
"primaryFullImageURL":null,
"productListingSku":null,
"primaryLargeImageURL":null,
"smallImageURLs":[
],
"derivedShippingSurchargeFrom":"UsDollar",
"shippingSurcharges":{
"defaultPriceGroup":null
},
"thumbnailImage":null,
"discountable":true,
"saleVolumePrices":{
"defaultPriceGroup":null
},
"saleVolumePrice":null,
"salePriceStartDate":null,
"quantity":null,
"salePrice":null,
"fullImageURLs":[
],
"soldAsPackage":false,
"repositoryId":"sku10007",
"derivedListPriceFrom":"UsDollar",
"shippingSurcharge":null,
"listPrice":199.99,
"configurable":false
},
{
"dynamicPropertyMapLong":{
},
"bundleLinks":[
],
"largeImage":null,
"smallImage":null,
"listVolumePrice":null,
"listPrices":{
"defaultPriceGroup":9.99
},
"configurationMetadata":[
],
"largeImageURLs":[
],
"productLine":null,
"listVolumePrices":{
"defaultPriceGroup":null
},
"derivedSalePriceFrom":"UsDollar",
"model":null,
"barcode":"200000002015",
"salePriceEndDate":null,
"images":[
],
"unitOfMeasure":null,
"primaryMediumImageURL":null,
"dynamicPropertyMapBigString":{
},
"active":true,
"thumbImageURLs":[
],
"mediumImageURLs":[
],
"primarySourceImageURL":null,
"primarySmallImageURL":null,
"sourceImageURLs":[
],
"productFamily":null,
"primaryThumbImageURL":null,
"nonreturnable":false,
"displayName":null,
"salePrices":{
"defaultPriceGroup":null
},
"primaryFullImageURL":null,
"productListingSku":null,
"primaryLargeImageURL":null,
"smallImageURLs":[
],
"derivedShippingSurchargeFrom":"UsDollar",
"shippingSurcharges":{
"defaultPriceGroup":null
},
"thumbnailImage":null,
"discountable":true,
"saleVolumePrices":{
"defaultPriceGroup":null
},
"saleVolumePrice":null,
"salePriceStartDate":null,
"quantity":null,
"salePrice":null,
"fullImageURLs":[
],
"soldAsPackage":false,
"repositoryId":"sku10008",
"derivedListPriceFrom":"UsDollar",
"shippingSurcharge":null,
"listPrice":9.99,
"configurable":false
},
{
"dynamicPropertyMapLong":{
},
"bundleLinks":[
],
"largeImage":null,
"smallImage":null,
"listVolumePrice":null,
"listPrices":{
"defaultPriceGroup":19.99
},
"configurationMetadata":[
],
"largeImageURLs":[
],
"productLine":null,
"listVolumePrices":{
"defaultPriceGroup":null
},
"derivedSalePriceFrom":"UsDollar",
"model":null,
"barcode":"200000002022",
"salePriceEndDate":null,
"images":[
],
"unitOfMeasure":null,
"primaryMediumImageURL":null,
"dynamicPropertyMapBigString":{
},
"active":true,
"thumbImageURLs":[
],
"mediumImageURLs":[
],
"primarySourceImageURL":null,
"primarySmallImageURL":null,
"sourceImageURLs":[
],
"productFamily":null,
"primaryThumbImageURL":null,
"nonreturnable":false,
"displayName":null,
"salePrices":{
"defaultPriceGroup":null
},
"primaryFullImageURL":null,
"productListingSku":null,
"primaryLargeImageURL":null,
"smallImageURLs":[
],
"derivedShippingSurchargeFrom":"UsDollar",
"shippingSurcharges":{
"defaultPriceGroup":null
},
"thumbnailImage":null,
"discountable":true,
"saleVolumePrices":{
"defaultPriceGroup":null
},
"saleVolumePrice":null,
"salePriceStartDate":null,
"quantity":null,
"salePrice":null,
"fullImageURLs":[
],
"soldAsPackage":false,
"repositoryId":"sku10009",
"derivedListPriceFrom":"UsDollar",
"shippingSurcharge":null,
"listPrice":19.99,
"configurable":false
}
]
}
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|
|------------------|------------------|
|20038|Cannot build the query.|
|20144|Cannot get catalog view.|
|20055|The SKU view does not support queries containing parameters.|
|25013|price List InternalError|
|200105|Catalog not found in the repository|
|200104|Catalog ID is invalid or not associated with current profile.|
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
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:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code