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
Query Parameters
  • ID of the catalog.
  • Boolean indicating whether to return a larger set of SKU properties. Default value is false.
  • Boolean flag to determine whether to include price maps for the skus in the response. Default value is true.
  • Type of sku list associated with the given promotion id -includedSkus or excludedSkus
  • Partial displayName or id of a SKU to use for search.
  • Return response with paginated pattern, to be used with query param skuIds or promotion group {promotionId, itemTypeList, templateValue}. Default value is false.
  • Price list group id for adding the prices to the SKU in the response.
  • 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
  • Contains SCIM query language
  • Boolean flag to determine whether to include inactive SKUs as part of the result. Default value is true.
  • Boolean flag to determine whether to include SKU bundles as part of the result. Default value is true.
  • Boolean indicating if the translations property should be returned for each item in the response. Default value is false.
  • SKU IDs to list.
  • UI Template value associated with the included/excluded SKUs list - e.g PSC_Value, optional_offer_psc_value etc
  • 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
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : listSkus_response
Type: object
Show Source
Nested Schema : items
Type: array
items
Show Source
Nested Schema : sort
Type: array
sort
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : auxiliaryMedia
Type: object
auxiliaryMedia
Nested Schema : catalogs
Type: array
catalogs
Show Source
Nested Schema : catalogsReplacementProducts
Type: array
catalogs replacement products
Show Source
Nested Schema : computedCatalogs
Type: array
computed catalogs
Show Source
Nested Schema : configurationMetadata
Type: array
Array of configuration attributes associated with the SKU.
Show Source
Nested Schema : derivedCatalogs
Type: array
Derived catalogs
Show Source
Nested Schema : dynamicPropertyMapLong
Type: object
dynamicPropertyMapLong
Show Source
Nested Schema : fullImageURLs
Type: array
fullImageURLs
Show Source
Nested Schema : largeImage
Type: object
large image
Show Source
Nested Schema : largeImageURLs
Type: array
largeImageURLs
Show Source
Nested Schema : listPrices
Type: object
listPrices
Show Source
Nested Schema : mediumImageURLs
Type: array
mediumImageURLs
Show Source
Nested Schema : parentProducts
Type: array
array of parent products
Show Source
Nested Schema : salePrices
Type: object
salePrices
Show Source
Nested Schema : shippingSurcharges
Type: object
Extra handling costs for shipping the product in respective price list groups
Show Source
  • Extra handling costs for shipping the product in plg1
  • Extra handling costs for shipping the product in plg2
Nested Schema : smallImage
Type: object
Small image
Show Source
Nested Schema : smallImageURLs
Type: array
smallImageURLs
Show Source
Nested Schema : sourceImageURLs
Type: array
sourceImageURLs
Show Source
Nested Schema : thumbImageURLs
Type: array
thumbImageURLs
Show Source
Nested Schema : thumbnailImage
Type: object
thumbnailImage
Show Source
Nested Schema : translations
Type: object
translations
Show Source
Nested Schema : variant
Type: array
Product Variant Information.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : addOnProducts
Type: array
Array of AddOn products.
Show Source
Nested Schema : childSKUs
Type: array
childSKUs
Show Source
Nested Schema : fullImageURLs
Type: array
fullImageURLs
Show Source
Nested Schema : largeImage
Type: object
large image
Show Source
Nested Schema : largeImageURLs
Type: array
largeImageURLs
Show Source
Nested Schema : mediumImageURLs
Type: array
mediumImageURLs
Show Source
Nested Schema : productImages
Type: array
productImages
Show Source
Nested Schema : smallImage
Type: object
Small image
Show Source
Nested Schema : smallImageURLs
Type: array
smallImageURLs
Show Source
Nested Schema : sourceImageURLs
Type: array
sourceImageURLs
Show Source
Nested Schema : thumbImageURLs
Type: array
thumbImageURLs
Show Source
Nested Schema : items
Type: object
AddOn product.
Show Source
Nested Schema : configurationOptions
Type: array
Array of configuration options.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : product
Type: object
Product Details
Show Source
Nested Schema : sku
Type: object
Sku Details
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : 1
Type: object
1
Show Source
Nested Schema : 27
Type: object
27
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
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.|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top