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_response- items
-
Type:
arrayitemsAdditional Properties Allowed:The data for the sku.
Nested Schema : itemsNested Schema : itemsType:object- barcode
-
Type:
numberThe barcode - configurable
-
Type:
booleanWhether the sku is configurable or not - fractionalQuantitiesAllowed
-
Type:
booleanWhether fractional quantities are allowed - fullImageURLs
-
Type:
arrayfullImageURLsAdditional Properties Allowed:The array of full image URLs - images
-
Type:
arrayimagesAdditional Properties Allowed:Image URLs of SKU. - largeImage
-
Type:
stringlarge image path of the SKU - largeImageURLs
-
Type:
arraylargeImageURLsAdditional Properties Allowed:Large Image URLs of SKU. - listPrice
-
Type:
numberThe list price - listPrices
-
Type:
objectlistPricesAdditional Properties Allowed:list prices of the product in respective price list groups - listVolumePrice
-
Type:
numberlist volume price of the product - listVolumePrices
-
Type:
objectlistVolumePricesAdditional Properties Allowed:list volume prices of the product in respective price list groups - mediumImageURLs
-
Type:
arraymediumImageURLsAdditional Properties Allowed:medium image urls path - model
-
Type:
stringThe model property of SKU. - nonreturnable
-
Type:
stringIndicates whether the SKU is returnable or not. - parentProducts
-
Type:
arrayparentProductsAdditional Properties Allowed:The list of parent products for the SKU. - primaryFullImageURL
-
Type:
stringPrimary Full Image URL of SKU. - primaryLargeImageURL
-
Type:
stringPrimary Large Image URL of SKU. - primaryMediumImageURL
-
Type:
stringprimary medium image url path - primarySmallImageURL
-
Type:
stringPrimary Small Image URL of SKU. - primarySourceImageURL
-
Type:
stringprimary source image url path - primaryThumbImageURL
-
Type:
stringPrimary Source Image URL of SKU. - productFamily
-
Type:
stringproduct family property of the SKU - productLine
-
Type:
stringproduct line of the SKU - productListingSku
-
Type:
objectproductListingSkuAdditional Properties Allowed:product listing SKU property of the SKU - productVariantOptions
-
Type:
arrayproductVariantOptionsAdditional Properties Allowed:The selected options for the SKU. - quantity
-
Type:
integerquantity of the SKU - repositoryId
-
Type:
stringrepository id of the child SKU - salePrice
-
Type:
numbersale price of the SKU. - salePriceEndDate
-
Type:
stringsale price end date of the SKU - salePrices
-
Type:
objectsalePricesAdditional Properties Allowed:sale prices of the product in respective price list groups - salePriceStartDate
-
Type:
stringsale price start date of the SKU - saleVolumePrice
-
Type:
numberThe sale volume price - saleVolumePrices
-
Type:
objectsaleVolumePricesAdditional Properties Allowed:Sale volume prices of the product in respective price list groups - smallImage
-
Type:
arraysmallImageAdditional Properties Allowed:The array of small image URLs - smallImageURLs
-
Type:
arraysmallImageURLsAdditional Properties Allowed:small image url paths - sourceImageURLs
-
Type:
arraysourceImageURLsAdditional Properties Allowed:Source Image URLs of SKU. - thumbImageURLs
-
Type:
arraythumbImageURLsAdditional Properties Allowed:Thumb Image URLs of SKU - thumbnailImage
-
Type:
stringThe thumbanil image of the SKU - unitOfMeasure
-
Type:
stringunit of measure of the SKU - variantValuesOrder
-
Type:
objectvariantValuesOrderAdditional Properties Allowed:Object having various variant property as key and ordered values array as the value.
Nested Schema : fullImageURLsNested Schema : imagesNested Schema : largeImageURLsNested Schema : listPricesType:objectlist prices of the product in respective price list groups- plg1
-
Type:
numberlist price of the product in plg1 - plg2
-
Type:
numberlist price of the product in plg2
Nested Schema : listVolumePricesType:objectlist volume prices of the product in respective price list groups- plg1
-
Type:
numberlist volume price of the product in plg1 - plg2
-
Type:
numberlist volume price of the product in plg2
Nested Schema : mediumImageURLsNested Schema : parentProductsNested Schema : productListingSkuType:objectproduct listing SKU property of the SKUNested Schema : productVariantOptionsNested Schema : salePricesType:objectsale prices of the product in respective price list groups- plg1
-
Type:
numbersale price of the product in plg1 - plg2
-
Type:
numbersale price of the product in plg2
Nested Schema : saleVolumePricesType:objectSale volume prices of the product in respective price list groups- plg1
-
Type:
numberSale volume price of the product in plg1 - plg2
-
Type:
numberSale volume price of the product in plg2
Nested Schema : smallImageNested Schema : smallImageURLsNested Schema : sourceImageURLsNested Schema : thumbImageURLsNested Schema : variantValuesOrderType:objectObject having various variant property as key and ordered values array as the value.Nested Schema : itemsType:object- active
-
Type:
booleanThe active property of the product - avgCustRating
-
Type:
numberaverage customer rating for the product - brand
-
Type:
stringbrand of the product - configurable
-
Type:
booleanwhether the product is configurable or not - CountryOfOrigin
-
Type:
stringthe country of origin of the product - defaultProductListingSku
-
Type:
objectdefaultProductListingSkuAdditional Properties Allowed:default SKU for the product - description
-
Type:
stringdescription of the product - displayName
-
Type:
stringThe display name of the product - fractionalQuantitiesAllowed
-
Type:
booleanWhether fractional quantities are allowed - fullImageURLs
-
Type:
arrayfullImageURLsAdditional Properties Allowed:full image url paths - height
-
Type:
numberheight of the product - id
-
Type:
stringid of the product - largeImageURLs
-
Type:
arraylargeImageURLsAdditional Properties Allowed:The array of large image URLs - length
-
Type:
numberlength of the product - listPrice
-
Type:
numberlist price of the product - listPrices
-
Type:
objectlistPricesAdditional Properties Allowed:list prices of the product in respective price list groups - listVolumePrice
-
Type:
numberlist volume price of the product - listVolumePrices
-
Type:
objectlistVolumePricesAdditional Properties Allowed:list volume prices of the product in respective price list groups - longDescription
-
Type:
stringlong description of the product - mediumImageURLs
-
Type:
arraymediumImageURLsAdditional Properties Allowed:Medium Image URLs SKU. - nonreturnable
-
Type:
booleanIndicates whether the product is returnable or not. - notForIndividualSale
-
Type:
booleanWhether the product is not for individual sale - orderLimit
-
Type:
stringthe order limit of the product - parentCategory
-
Type:
stringparent category of the product - primaryFullImageURL
-
Type:
stringprimary full image url path - primaryImageAltText
-
Type:
stringAlternate text for the primary image of the product - primaryImageTitle
-
Type:
stringprimary image title of the product - primaryLargeImageURL
-
Type:
stringprimary large image url path - primaryMediumImageURL
-
Type:
stringPrimary Medium Image URL ID of SKU. - primarySmallImageURL
-
Type:
stringPrimary Small Image URL of product - primarySourceImageURL
-
Type:
stringprimary source image url path - primaryThumbImageURL
-
Type:
stringprimary thumb image url path - relatedProducts
-
Type:
stringrelated products - repositoryId
-
Type:
stringrepository id of the product - route
-
Type:
stringroute of the product - salePrice
-
Type:
numberThe sale price of the product - salePrices
-
Type:
objectsalePricesAdditional Properties Allowed:sale prices of the product in respective price list groups - saleVolumePrice
-
Type:
numberThe sale volume price - saleVolumePrices
-
Type:
objectsaleVolumePricesAdditional Properties Allowed:Sale volume prices of the product in respective price list groups - seoUrlSlugDerived
-
Type:
stringDerived from seoUrlSlug of the product if available, else derived from display name of the product. - shippingSurcharge
-
Type:
numberExtra handling costs for shipping the product. - shippingSurcharges
-
Type:
objectshippingSurchargesAdditional Properties Allowed:Extra handling costs for shipping the product in respective price list groups - smallImageURLs
-
Type:
arraysmallImageURLsAdditional Properties Allowed:The urls of the small image. - sourceImageURLs
-
Type:
arraysourceImageURLsAdditional Properties Allowed:source image urls of the product - thumbImageURLs
-
Type:
arraythumbImageURLsAdditional Properties Allowed:Thumb Image URLs of product - type
-
Type:
stringtype of the product - unitOfMeasure
-
Type:
stringunit of measure of the product - weight
-
Type:
numberweight - width
-
Type:
numberwidth of the product
Nested Schema : defaultProductListingSkuType:objectdefault SKU for the productNested Schema : fullImageURLsNested Schema : largeImageURLsNested Schema : listPricesType:objectlist prices of the product in respective price list groups- plg1
-
Type:
numberlist price of the product in plg1 - plg2
-
Type:
numberlist price of the product in plg2
Nested Schema : listVolumePricesType:objectlist volume prices of the product in respective price list groups- plg1
-
Type:
numberlist volume price of the product in plg1 - plg2
-
Type:
numberlist volume price of the product in plg2
Nested Schema : mediumImageURLsNested Schema : salePricesType:objectsale prices of the product in respective price list groups- plg1
-
Type:
numbersale price of the product in plg1 - plg2
-
Type:
numbersale price of the product in plg2
Nested Schema : saleVolumePricesType:objectSale volume prices of the product in respective price list groups- plg1
-
Type:
numberSale volume price of the product in plg1 - plg2
-
Type:
numberSale volume price of the product in plg2
Nested Schema : shippingSurchargesType:objectExtra handling costs for shipping the product in respective price list groups- plg1
-
Type:
numberExtra handling costs for shipping the product in plg1 - plg2
-
Type:
numberExtra handling costs for shipping the product in plg2
Nested Schema : smallImageURLsNested Schema : sourceImageURLsNested Schema : thumbImageURLsNested Schema : itemsType:object- optionName
-
Type:
stringThe name of the option. - optionValue
-
Type:
stringThe value of the option.
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, "nonreturnable":false, "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, "nonreturnable":false, "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, "nonreturnable":false, "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, "nonreturnable":false, "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 } ] }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:
arrayerrorsAdditional Properties Allowed:An 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, "nonreturnable": false, "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, "nonreturnable": false, "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, "nonreturnable": false, "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, "nonreturnable": false, "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 } ] }