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, 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
-
Type:
stringID of the catalog.- expand
Type:booleanBoolean indicating whether to return a larger set of SKU properties. Default value is false.- includePrices
Type:booleanBoolean flag to determine whether to include price maps for the skus in the response. Default value is true.- name
Type:stringPartial displayName or id of a SKU to use for search.- pageResults
Type:booleanReturn response with paginated pattern, to be used with query param skuIds. Default value is false.- priceListGroupId
Type:stringPrice list group id for adding the prices to the SKU in the response.- showInactiveSkus
Type:booleanBoolean flag to determine whether to include inactive SKUs as part of the result. Default value is true.- showSkuBundles
Type:booleanBoolean flag to determine whether to include SKU bundles as part of the result. Default value is true.- showTranslations
Type:booleanBoolean indicating if the translations property should be returned for each item in the response. Default value is false.- skuIds
Type:stringSKU IDs to list.Header Parameters- X-CCAsset-Language
-
Type:
stringThe asset language of the request
Response
Supported Media Types- application/json
200 ResponseFollowing model is returned when operation succeeds.BodyRoot Schema : listSkus_responseNested Schema : itemsType:object- auxiliaryMedia
-
Type:
objectauxiliaryMediaauxiliaryMedia - barcode
-
Type:
stringbarcode - catalogs
-
Type:
arraycatalogscatalogs - catalogsReplacementProducts
-
Type:
arraycatalogsReplacementProductscatalogs replacement products - color
-
Type:
stringcolor - computedCatalogs
-
Type:
arraycomputedCatalogscomputed catalogs - configurable
-
Type:
booleanIndicates whether a sku is configurable - creationDate
-
Type:
stringcreationDate - derivedCatalogs
-
Type:
arrayderivedCatalogsDerived catalogs - description
-
Type:
stringdescription - discountable
-
Type:
booleandiscountable - displayName
-
Type:
stringdisplayName - dynamicPropertyMapLong
-
Type:
objectdynamicPropertyMapLongdynamicPropertyMapLong - endDate
-
Type:
stringendDate - fractionalQuantitiesAllowed
-
Type:
booleanfractionalQuantitiesAllowed - fulfiller
-
Type:
stringfulfiller - fullImageURLs
-
Type:
arrayfullImageURLsfullImageURLs - id
-
Type:
stringid - itemAcl
-
Type:
stringitem Acl - largeImage
-
Type:
objectlargeImagelarge image - largeImageURLs
-
Type:
arraylargeImageURLslargeImageURLs - listPrice
-
Type:
numberlistPrice - listPrices
-
Type:
objectlistPriceslistPrices - manufacturer_part_number
-
Type:
stringmanufacturer_part_number - mediumImageURLs
-
Type:
arraymediumImageURLsmediumImageURLs - nonreturnable
-
Type:
booleannonreturnable - onlineOnly
-
Type:
booleanonlineOnly - onSale
-
Type:
booleanonSale - parentProducts
-
Type:
arrayparentProductsarray of parent products - primaryFullImageURL
-
Type:
stringprimaryFullImageURL - primaryLargeImageURL
-
Type:
stringprimaryLargeImageURL - primaryMediumImageURL
-
Type:
stringprimaryMediumImageURL - primarySmallImageURL
-
Type:
stringprimarySmallImageURL - primarySourceImageURL
-
Type:
stringprimarySourceImageURL - primaryThumbImageURL
-
Type:
stringprimaryThumbImageURL - productListingSku
-
Type:
stringproductListingSku - quantity
-
Type:
integerquantity - repositoryId
-
Type:
stringrepositoryId - salePrice
-
Type:
numbersalePrice - salePriceEndDate
-
Type:
stringsalePriceEndDate - salePrices
-
Type:
objectsalePricessalePrices - salePriceStartDate
-
Type:
stringsalePriceStartDate - shippingSurcharge
-
Type:
numbershippingSurcharge - siteIds
-
Type:
stringsiteIds - size
-
Type:
stringsize - smallImage
-
Type:
objectsmallImageSmall image - smallImageURLs
-
Type:
arraysmallImageURLssmallImageURLs - sourceImageURLs
-
Type:
arraysourceImageURLssourceImageURLs - startDate
-
Type:
stringstartDate - thumbImageURLs
-
Type:
arraythumbImageURLsthumbImageURLs - thumbnailImage
-
Type:
objectthumbnailImagethumbnailImage - translations
-
Type:
objecttranslationstranslations - type
-
Type:
stringtype - unit_of_measure
-
Type:
stringunit_of_measure - unitOfMeasure
-
Type:
stringunitOfMeasure - variant
-
Type:
arrayvariantProduct Variant Information. - variantOptions
-
Type:
stringvariantOptions - version
-
Type:
integerversion - wholesalePrice
-
Type:
numberwholesalePrice
Nested Schema : auxiliaryMediaType:objectauxiliaryMediaNested Schema : catalogsReplacementProductsNested Schema : dynamicPropertyMapLongType:objectdynamicPropertyMapLong- sku-WomensApparel_color
-
Type:
integersku-WomensApparel_color - sku-WomensApparel_size
-
Type:
integersku-WomensApparel_size
Nested Schema : fullImageURLsNested Schema : largeImageNested Schema : largeImageURLsNested Schema : listPricesNested Schema : mediumImageURLsNested Schema : salePricesNested Schema : smallImageNested Schema : smallImageURLsNested Schema : sourceImageURLsNested Schema : thumbImageURLsNested Schema : thumbnailImageNested Schema : translationsNested Schema : itemsType:object- repositoryId
-
Type:
stringrepository Id
Nested Schema : itemsType:object- repositoryId
-
Type:
stringrepository Id
Nested Schema : itemsType:object- repositoryId
-
Type:
stringrepository Id
Nested Schema : itemsType:object- repositoryId
-
Type:
stringrepository Id
Nested Schema : itemsType:object- active
-
Type:
booleanactive - avgCustRating
-
Type:
stringavgCustRating - childSKUs
-
Type:
arraychildSKUschildSKUs - description
-
Type:
stringdescription - displayName
-
Type:
stringdisplayName - fullImageURLs
-
Type:
arrayfullImageURLsfullImageURLs - id
-
Type:
stringid - largeImage
-
Type:
objectlargeImagelarge image - largeImageURLs
-
Type:
arraylargeImageURLslargeImageURLs - listPrice
-
Type:
numberlistPrice - longDescription
-
Type:
stringlongDescription - mediumImageURLs
-
Type:
arraymediumImageURLsmediumImageURLs - orderLimit
-
Type:
integerorderLimit - primaryFullImageURL
-
Type:
stringprimaryFullImageURL - primaryLargeImageURL
-
Type:
stringprimaryLargeImageURL - primaryMediumImageURL
-
Type:
stringprimaryMediumImageURL - primarySmallImageURL
-
Type:
stringprimarySmallImageURL - primarySourceImageURL
-
Type:
stringprimarySourceImageURL - primaryThumbImageURL
-
Type:
stringprimaryThumbImageURL - productImages
-
Type:
arrayproductImagesproductImages - repositoryId
-
Type:
stringrepositoryId - route
-
Type:
stringroute - salePrice
-
Type:
numbersalePrice - shippingSurcharge
-
Type:
numbershippingSurcharge - smallImage
-
Type:
objectsmallImageSmall image - smallImageURLs
-
Type:
arraysmallImageURLssmallImageURLs - sourceImageURLs
-
Type:
arraysourceImageURLssourceImageURLs - thumbImageURLs
-
Type:
arraythumbImageURLsthumbImageURLs
Nested Schema : fullImageURLsNested Schema : largeImageNested Schema : largeImageURLsNested Schema : mediumImageURLsNested Schema : smallImageNested Schema : smallImageURLsNested Schema : sourceImageURLsNested Schema : thumbImageURLsNested Schema : itemsType:object- repositoryId
-
Type:
stringrepositoryId
Nested Schema : itemsType:object- repositoryId
-
Type:
stringrepositoryId
Nested Schema : 1Nested Schema : 27Nested Schema : itemsType:object- optionName
-
Type:
stringName of the Dynamic attribute. - optionValue
-
Type:
stringValue of the Dynamic attribute.
Nested Schema : itemsType:object- href
-
Type:
stringhref - rel
-
Type:
stringrel
Nested Schema : itemsType:object- order
-
Type:
stringorder - property
-
Type:
stringproperty
Example 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":[ { "productFamily":null, "dynamicPropertyMapLong":{ }, "primaryThumbImageURL":null, "bundleLinks":[ ], "largeImage":null, "smallImage":null, "listVolumePrice":null, "displayName":null, "salePrices":{ "defaultPriceGroup":null }, "primaryFullImageURL":null, "listPrices":{ "defaultPriceGroup":199.99 }, "productListingSku":null, "largeImageURLs":[ ], "productLine":null, "listVolumePrices":{ "defaultPriceGroup":null }, "primaryLargeImageURL":null, "smallImageURLs":[ ], "model":null, "thumbnailImage":null, "barcode":"200000001995", "saleVolumePrices":{ "defaultPriceGroup":null }, "salePriceEndDate":null, "saleVolumePrice":null, "salePriceStartDate":null, "images":[ ], "quantity":null, "unitOfMeasure":null, "salePrice":null, "primaryMediumImageURL":null, "fullImageURLs":[ ], "dynamicPropertyMapBigString":{ }, "active":true, "thumbImageURLs":[ ], "mediumImageURLs":[ ], "repositoryId":"sku10005", "primarySourceImageURL":null, "primarySmallImageURL":null, "sourceImageURLs":[ ], "listPrice":199.99, "configurable":false }, { "productFamily":null, "dynamicPropertyMapLong":{ }, "primaryThumbImageURL":null, "bundleLinks":[ ], "largeImage":null, "smallImage":null, "listVolumePrice":null, "displayName":null, "salePrices":{ "defaultPriceGroup":null }, "primaryFullImageURL":null, "listPrices":{ "defaultPriceGroup":199.99 }, "productListingSku":null, "largeImageURLs":[ ], "productLine":null, "listVolumePrices":{ "defaultPriceGroup":null }, "primaryLargeImageURL":null, "smallImageURLs":[ ], "model":null, "thumbnailImage":null, "barcode":"200000002008", "saleVolumePrices":{ "defaultPriceGroup":null }, "salePriceEndDate":null, "saleVolumePrice":null, "salePriceStartDate":null, "images":[ ], "quantity":null, "unitOfMeasure":null, "salePrice":null, "primaryMediumImageURL":null, "fullImageURLs":[ ], "dynamicPropertyMapBigString":{ }, "active":true, "thumbImageURLs":[ ], "mediumImageURLs":[ ], "repositoryId":"sku10007", "primarySourceImageURL":null, "primarySmallImageURL":null, "sourceImageURLs":[ ], "listPrice":199.99, "configurable":false }, { "productFamily":null, "dynamicPropertyMapLong":{ }, "primaryThumbImageURL":null, "bundleLinks":[ ], "largeImage":null, "smallImage":null, "listVolumePrice":null, "displayName":null, "salePrices":{ "defaultPriceGroup":null }, "primaryFullImageURL":null, "listPrices":{ "defaultPriceGroup":9.99 }, "productListingSku":null, "largeImageURLs":[ ], "productLine":null, "listVolumePrices":{ "defaultPriceGroup":null }, "primaryLargeImageURL":null, "smallImageURLs":[ ], "model":null, "thumbnailImage":null, "barcode":"200000002015", "saleVolumePrices":{ "defaultPriceGroup":null }, "salePriceEndDate":null, "saleVolumePrice":null, "salePriceStartDate":null, "images":[ ], "quantity":null, "unitOfMeasure":null, "salePrice":null, "primaryMediumImageURL":null, "fullImageURLs":[ ], "dynamicPropertyMapBigString":{ }, "active":true, "thumbImageURLs":[ ], "mediumImageURLs":[ ], "repositoryId":"sku10008", "primarySourceImageURL":null, "primarySmallImageURL":null, "sourceImageURLs":[ ], "listPrice":9.99, "configurable":false }, { "productFamily":null, "dynamicPropertyMapLong":{ }, "primaryThumbImageURL":null, "bundleLinks":[ ], "largeImage":null, "smallImage":null, "listVolumePrice":null, "displayName":null, "salePrices":{ "defaultPriceGroup":null }, "primaryFullImageURL":null, "listPrices":{ "defaultPriceGroup":19.99 }, "productListingSku":null, "largeImageURLs":[ ], "productLine":null, "listVolumePrices":{ "defaultPriceGroup":null }, "primaryLargeImageURL":null, "smallImageURLs":[ ], "model":null, "thumbnailImage":null, "barcode":"200000002022", "saleVolumePrices":{ "defaultPriceGroup":null }, "salePriceEndDate":null, "saleVolumePrice":null, "salePriceStartDate":null, "images":[ ], "quantity":null, "unitOfMeasure":null, "salePrice":null, "primaryMediumImageURL":null, "fullImageURLs":[ ], "dynamicPropertyMapBigString":{ }, "active":true, "thumbImageURLs":[ ], "mediumImageURLs":[ ], "repositoryId":"sku10009", "primarySourceImageURL":null, "primarySmallImageURL":null, "sourceImageURLs":[ ], "listPrice":19.99, "configurable":false } ], "___etag___":"eyJ2ZXJzaW9uIjoxLCJ1cmkiOiJza3VzIiwiaGFzaCI6Imk2VFFPUT09In0=" }Default ResponseThe 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.|BodyRoot Schema : errorModelType:object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAn optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errorsNested Schema : itemsType:object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Response Payload returned by endpoint:
{ "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": [ { "productFamily": null, "dynamicPropertyMapLong": {}, "primaryThumbImageURL": null, "bundleLinks": [], "largeImage": null, "smallImage": null, "listVolumePrice": null, "displayName": null, "salePrices": {"defaultPriceGroup": null}, "primaryFullImageURL": null, "listPrices": {"defaultPriceGroup": 199.99}, "productListingSku": null, "largeImageURLs": [], "productLine": null, "listVolumePrices": {"defaultPriceGroup": null}, "primaryLargeImageURL": null, "smallImageURLs": [], "model": null, "thumbnailImage": null, "barcode": "200000001995", "saleVolumePrices": {"defaultPriceGroup": null}, "salePriceEndDate": null, "saleVolumePrice": null, "salePriceStartDate": null, "images": [], "quantity": null, "unitOfMeasure": null, "salePrice": null, "primaryMediumImageURL": null, "fullImageURLs": [], "dynamicPropertyMapBigString": {}, "active": true, "thumbImageURLs": [], "mediumImageURLs": [], "repositoryId": "sku10005", "primarySourceImageURL": null, "primarySmallImageURL": null, "sourceImageURLs": [], "listPrice": 199.99, "configurable": false }, { "productFamily": null, "dynamicPropertyMapLong": {}, "primaryThumbImageURL": null, "bundleLinks": [], "largeImage": null, "smallImage": null, "listVolumePrice": null, "displayName": null, "salePrices": {"defaultPriceGroup": null}, "primaryFullImageURL": null, "listPrices": {"defaultPriceGroup": 199.99}, "productListingSku": null, "largeImageURLs": [], "productLine": null, "listVolumePrices": {"defaultPriceGroup": null}, "primaryLargeImageURL": null, "smallImageURLs": [], "model": null, "thumbnailImage": null, "barcode": "200000002008", "saleVolumePrices": {"defaultPriceGroup": null}, "salePriceEndDate": null, "saleVolumePrice": null, "salePriceStartDate": null, "images": [], "quantity": null, "unitOfMeasure": null, "salePrice": null, "primaryMediumImageURL": null, "fullImageURLs": [], "dynamicPropertyMapBigString": {}, "active": true, "thumbImageURLs": [], "mediumImageURLs": [], "repositoryId": "sku10007", "primarySourceImageURL": null, "primarySmallImageURL": null, "sourceImageURLs": [], "listPrice": 199.99, "configurable": false }, { "productFamily": null, "dynamicPropertyMapLong": {}, "primaryThumbImageURL": null, "bundleLinks": [], "largeImage": null, "smallImage": null, "listVolumePrice": null, "displayName": null, "salePrices": {"defaultPriceGroup": null}, "primaryFullImageURL": null, "listPrices": {"defaultPriceGroup": 9.99}, "productListingSku": null, "largeImageURLs": [], "productLine": null, "listVolumePrices": {"defaultPriceGroup": null}, "primaryLargeImageURL": null, "smallImageURLs": [], "model": null, "thumbnailImage": null, "barcode": "200000002015", "saleVolumePrices": {"defaultPriceGroup": null}, "salePriceEndDate": null, "saleVolumePrice": null, "salePriceStartDate": null, "images": [], "quantity": null, "unitOfMeasure": null, "salePrice": null, "primaryMediumImageURL": null, "fullImageURLs": [], "dynamicPropertyMapBigString": {}, "active": true, "thumbImageURLs": [], "mediumImageURLs": [], "repositoryId": "sku10008", "primarySourceImageURL": null, "primarySmallImageURL": null, "sourceImageURLs": [], "listPrice": 9.99, "configurable": false }, { "productFamily": null, "dynamicPropertyMapLong": {}, "primaryThumbImageURL": null, "bundleLinks": [], "largeImage": null, "smallImage": null, "listVolumePrice": null, "displayName": null, "salePrices": {"defaultPriceGroup": null}, "primaryFullImageURL": null, "listPrices": {"defaultPriceGroup": 19.99}, "productListingSku": null, "largeImageURLs": [], "productLine": null, "listVolumePrices": {"defaultPriceGroup": null}, "primaryLargeImageURL": null, "smallImageURLs": [], "model": null, "thumbnailImage": null, "barcode": "200000002022", "saleVolumePrices": {"defaultPriceGroup": null}, "salePriceEndDate": null, "saleVolumePrice": null, "salePriceStartDate": null, "images": [], "quantity": null, "unitOfMeasure": null, "salePrice": null, "primaryMediumImageURL": null, "fullImageURLs": [], "dynamicPropertyMapBigString": {}, "active": true, "thumbImageURLs": [], "mediumImageURLs": [], "repositoryId": "sku10009", "primarySourceImageURL": null, "primarySmallImageURL": null, "sourceImageURLs": [], "listPrice": 19.99, "configurable": false } ], "___etag___": "eyJ2ZXJzaW9uIjoxLCJ1cmkiOiJza3VzIiwiaGFzaCI6Imk2VFFPUT09In0=" }