listProducts
get
/ccstore/v1/products
List Products. Get a list of products. Optionally takes the x-ccasset-language headers to get translated content in another language.Also it can have optional X-CCOrganization header which is a JSON field to specify current Organization id of logged in user. None of the image URLS are encoded.
Request
Supported Media Types
- application/json
Query Parameters
- catalogId
-
Type:
string
the catalog ID for the site- categoryId
Type:string
the category ID- includeChildSKUsListingIds
Type:boolean
If this flag is true then listingVariant repository id will be included in each of the childSKU of style based product- includeChildren
Type:boolean
flag to include children of categories or not- limit
Type:integer
The number of items per block- offset
Type:integer
startingIndex the index of the first record to load- productIds
Type:string
the list of product IDs- q
Type:string
A SCIM filter string for selecting a subset of all products. See [https://tools.ietf.org/html/draft-ietf-scim-api-12#section-3.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-12#section-3.2.2)section 3.2.2.2 of the SCIM specification for details on the SCIM filter format. Examples: Get all products whose displayName contains shirt: q=displayName co "shirt" Get all products with an orderLimit between 5 and 10: q=orderLimit gt 5 and orderLimit lt 10 Text, date and time values appearing in SCIM filters should be quoted, with date and time values using ISO-8601 format. Numeric and boolean values should not be quoted. The following base product properties can be used in a q query: * CountryOfOrigin * active * avgCustRating * brand * childSKUs * defaultProductListingSku * description * displayName * height * id * length * longDescription * notForIndividualSale * orderLimit * parentCategories * relatedArticles * relatedMediaContent * type * unitOfMeasure * weight * width Additionally, custom product properties may also be used in a q query.- sort
Type:string
Sort Option id: Sort order- storePriceListGroupId
Type:string
the price list group id for which product prices are to be returned- totalExpandedResults
Type:boolean
flag to include count of total products with listing variant expansion- totalResults
Type:boolean
flag to include count of total products without expansionHeader Parameters- X-CCAsset-Language
-
Type:
string
The asset language of the request
Response
Supported Media Types- application/json
200 ResponseFollowing model is returned when operation succeeds.BodyRoot Schema : listProducts_response- items
-
Type:
object
itemsAdditional Properties Allowed:Images and urls of the product. Image Urls are not encoded. - limit
-
Type:
integer
the total number of products that can be returned - sort
-
Type:
object
sortAdditional Properties Allowed:Sorting criteria of the products. - total
-
Type:
integer
The total number of products returned. Deprecated. - totalExpandedResults
-
Type:
integer
The total number of expanded products is returned only if value for category Id is set in the request. - totalResults
-
Type:
integer
The total number of products returned.
Nested Schema : itemsType:object
Images and urls of the product. Image Urls are not encoded.- active
-
Type:
boolean
The active property of the product - avgCustRating
-
Type:
string
the average customer rating of the product - childSKUs
-
Type:
array
childSKUsAdditional Properties Allowed:List of SKU's for the product. - creationDate
-
Type:
string
product creation date - description
-
Type:
string
The product description - displayName
-
Type:
string
The display name of the product - fullImageURLs
-
Type:
array
fullImageURLsAdditional Properties Allowed:The array of full image URLs. Urls are not encoded. - id
-
Type:
string
The product ID - largeImage
-
Type:
string
the large image of the product. Url is not encoded. - largeImageURLs
-
Type:
array
largeImageURLsAdditional Properties Allowed:The array of large image URLs. Urls are not encoded. - listPrice
-
Type:
number
The list price - listPrices
-
Type:
object
listPricesAdditional Properties Allowed:list prices of the SKU in respective price list groups - longDescription
-
Type:
string
The long description of the product - mediumImageURLs
-
Type:
array
mediumImageURLsAdditional Properties Allowed:The url of the medium image. Url is not encoded. - nonreturnable
-
Type:
boolean
Indicates whether the product is returnable or not. - notForIndividualSale
-
Type:
boolean
States whether not a product may be sold individually rather than, for example, as part of a configured product - orderLimit
-
Type:
string
the order limit of the product - primaryFullImageURL
-
Type:
string
The url of the primary full image. Url is not encoded. - primaryLargeImageURLs
-
Type:
string
The url of the primary large image. Url is not encoded. - primaryMediumImageURL
-
Type:
string
The primary medium image URL of the product. Url is not encoded. - primarySmallImageURL
-
Type:
string
The primary small image URL of the product. Url is not encoded. - primarySourceImageURL
-
Type:
string
the primary source image of the url.Url is not encoded. - primaryThumbImageURL
-
Type:
string
the primary source image of the url. Url is not encoded. - productVariantOptions
-
Type:
array
productVariantOptionsAdditional Properties Allowed:Objects containing product's variant options details if available for the product. - repositoryId
-
Type:
string
The repository ID of the product - route
-
Type:
string
The route property of the product - salePrice
-
Type:
number
The sale price of the product - salePrices
-
Type:
object
salePricesAdditional Properties Allowed:sale prices of the product in respective price list groups - shippingSurcharge
-
Type:
number
Extra handling cost for shipping the product. - shippingSurcharges
-
Type:
object
shippingSurchargesAdditional Properties Allowed:Extra handling costs for shipping the product in respective price list groups - smallImage
-
Type:
array
smallImageAdditional Properties Allowed:The array of small image URLs. Urls are not encoded. - smallImageURLs
-
Type:
array
smallImageURLsAdditional Properties Allowed:The urls of the small image.Urls are not encoded. - sourceImageURLs
-
Type:
array
sourceImageURLsAdditional Properties Allowed:The array of source image URLs. Urls are not encoded. - thumbImageURLs
-
Type:
array
thumbImageURLsAdditional Properties Allowed:The array of thumbnail image URLs. Urls are not encoded. - variantValuesOrder
-
Type:
object
variantValuesOrderAdditional Properties Allowed:Object having various variant property as key and ordered values array as the value.
Nested Schema : sortType:object
Sorting criteria of the products.- order
-
Type:
string
The order in which the products should be listed(asc/desc). - property
-
Type:
string
The property on which to do the ordering of products.
Nested Schema : childSKUsNested Schema : fullImageURLsNested Schema : largeImageURLsNested Schema : listPricesType:object
list prices of the SKU in respective price list groups- plg1
-
Type:
number
list price in plg1 - plg2
-
Type:
number
list price in plg2
Nested Schema : mediumImageURLsNested Schema : productVariantOptionsNested Schema : salePricesType:object
sale prices of the product in respective price list groups- plg1
-
Type:
number
sale price of the product in plg1 - plg2
-
Type:
number
sale price of the product in plg2
Nested Schema : shippingSurchargesType:object
Extra handling costs for shipping the product in respective price list groups- plg1
-
Type:
number
Extra handling costs for shipping the product in plg1 - plg2
-
Type:
number
Extra handling costs for shipping the product in plg2
Nested Schema : smallImageNested Schema : smallImageURLsNested Schema : sourceImageURLsNested Schema : thumbImageURLsNested Schema : variantValuesOrderType:object
Object having various variant property as key and ordered values array as the value.Nested Schema : itemsType:object
- active
-
Type:
boolean
SKU active property - dynamicPropertyMapLong
-
Type:
string
The dynamic mapping of the product - DynamicSKUProperty
-
Type:
string
Dynamic Properties of SKU. - fullImageURLs
-
Type:
array
fullImageURLsAdditional Properties Allowed:Full Image URLs of SKU. - largeImage
-
Type:
string
The large image of the product - largeImageURLs
-
Type:
array
largeImageURLsAdditional Properties Allowed:Large Image URLs of SKU. - listingSKUId
-
Type:
string
It contains listing variant's repository id, this field will be available if query param has includeChildSKUsListingIds as true and if product is style based one. - listPrice
-
Type:
number
The list price of the product - listPrices
-
Type:
object
listPricesAdditional Properties Allowed:list prices of the product in respective price list groups - mediumImageURLs
-
Type:
array
mediumImageURLsAdditional Properties Allowed:Medium Image URLs SKU. - nonreturnable
-
Type:
boolean
Indicates whether the SKU is returnable or not. - primaryLargeImageURL
-
Type:
string
Primary Large Image URL of SKU. - primaryMediumImageURL
-
Type:
string
Primary Medium Image URL ID of SKU. - primarySmallImageURL
-
Type:
string
Primary Small Image URL of SKU. - primarySourceImageURL
-
Type:
string
Primary Source Image URL of SKU. - primaryThumbImageURL
-
Type:
string
Primary Source Image URL of SKU. - repositoryId
-
Type:
string
The repository Id of the product - salePrice
-
Type:
number
The sale price of the product - salePriceEndDate
-
Type:
string
The date from which the sale for this product is not valid - salePrices
-
Type:
object
salePricesAdditional Properties Allowed:sale prices of the product in respective price list groups - salePriceStartDate
-
Type:
string
The date from which sale price of the product is valid - shippingSurcharge
-
Type:
number
Extra handling cost for shipping the product. - shippingSurcharges
-
Type:
object
shippingSurchargesAdditional Properties Allowed:Extra handling costs for shipping the product in respective price list groups - smallImage
-
Type:
string
The small image of the product - smallImageURLs
-
Type:
array
smallImageURLsAdditional Properties Allowed:Small Image URLs of SKU. - sourceImageURLs
-
Type:
array
sourceImageURLsAdditional Properties Allowed:Source Image URLs of SKU. - thumbImageURLs
-
Type:
array
thumbImageURLsAdditional Properties Allowed:Thumb Image URLs of SKU. - thumbnailImage
-
Type:
string
The thumbanil image of the product
Nested Schema : fullImageURLsNested Schema : largeImageURLsNested Schema : listPricesType:object
list prices of the product in respective price list groups- plg1
-
Type:
number
list price of the product in plg1 - plg2
-
Type:
number
list price of the product in plg2
Nested Schema : mediumImageURLsNested Schema : salePricesType:object
sale prices of the product in respective price list groups- plg1
-
Type:
number
sale price of the product in plg1 - plg2
-
Type:
number
sale price of the product in plg2
Nested Schema : shippingSurchargesType:object
Extra handling costs for shipping the product in respective price list groups- plg1
-
Type:
number
Extra handling costs for shipping the product in plg1 - plg2
-
Type:
number
Extra handling costs for shipping the product in plg2
Nested Schema : smallImageURLsNested Schema : sourceImageURLsNested Schema : thumbImageURLsNested Schema : itemsType:object
- mapKeyPropertyAttribute
-
Type:
string
map key property - optionId
-
Type:
string
option Id - optionName
-
Type:
string
option Name - optionValueMap
-
Type:
object
optionValueMapAdditional Properties Allowed:{ "type":"string" }
mapping of all option values with corresponding option value ids
Nested Schema : optionValueMapType:object
-
Type:
string
mapping of all option values with corresponding option value ids- optionValue
-
Type:
string
Option Value - optionValueId
-
Type:
integer
Option Value Id
Example application/json
{ "total":92, "totalResults":92, "totalExpandedResults":92, "limit":250, "sort":[ { "property":"displayName", "order":"asc" } ], "items":[ { "longDescription":"It's Samantha Baker's Sweet Sixteen and no one in her family remembers\n the important occasion. John Hughes, the writer of National Lampoon's Vacation, shows how coming-of-age\n can be full of surprises in this warm-hearted teenage comedy starring Molly Ringwald. She's your average\n teen, enduring creepy freshmen, spoiled siblings, confused parents and the Big Blonde on Campus who\n stands between her and the boy of her dreams. But wait...the day isn't over yet! This sparkling film\n features a dynamic score, and outstanding performances by Paul Dooley, Emmy winner Blanche Baker and\n Oscar nominee Justin Henry.\n ", "primaryThumbImageURL":"/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=100&width=100", "largeImage":null, "smallImage":null, "nonreturnable":false, "displayName":"16 Candles", "orderLimit":null, "description":"A really great movie that you should not miss.", "primaryFullImageURL":"/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg", "listPrices":null, "salePrices":null, "productVariantOptions":[ { "optionValueMap":{ "Silver":1, "Neon":2, "Black":0 }, "optionId":"color", "mapKeyPropertyAttribute":"sku-camcorder_color", "optionName":"color" } ], "largeImageURLs":[ "/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=940&width=940" ], "primaryLargeImageURL":"/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=940&width=940", "smallImageURLs":[ "/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=300&width=300" ], "shippingSurcharges":null, "id":"Product_19Cxy", "childSKUs":[ { "dynamicPropertyMapLong":{ }, "primaryThumbImageURL":null, "largeImage":null, "smallImage":null, "nonreturnable":false, "listPrices":null, "salePrices":null, "primaryFullImageURL":null, "productListingSku":null, "largeImageURLs":[ ], "primaryLargeImageURL":null, "smallImageURLs":[ ], "shippingSurcharges":null, "thumbnailImage":null, "salePriceEndDate":null, "salePriceStartDate":null, "images":[ ], "salePrice":4.99, "primaryMediumImageURL":null, "fullImageURLs":[ ], "active":true, "thumbImageURLs":[ ], "mediumImageURLs":[ ], "repositoryId":"Sku_19Dxy", "DynamicSkuProperty2":"value2", "shippingSurcharge":null, "primarySourceImageURL":null, "DynamicSkuProperty1":"value1", "primarySmallImageURL":null, "sourceImageURLs":[ ], "listPrice":12.99 }, { "dynamicPropertyMapLong":{ }, "salePriceStartDate":null, "largeImage":null, "smallImage":null, "salePrice":null, "nonreturnable":false, "active":true, "listPrices":null, "salePrices":null, "shippingSurcharges":null, "repositoryId":"Sku_19Dxyi", "shippingSurcharge":10, "thumbnailImage":null, "salePriceEndDate":null, "listPrice":null }, { "dynamicPropertyMapLong":{ }, "salePriceStartDate":null, "largeImage":null, "smallImage":null, "salePrice":8.99, "nonreturnable":false, "active":true, "listPrices":null, "salePrices":null, "shippingSurcharges":null, "repositoryId":"Sku_19Dxyii", "shippingSurcharge":null, "thumbnailImage":null, "salePriceEndDate":null, "listPrice":19.99 } ], "salePrice":8.99, "primaryMediumImageURL":"/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=475&width=475", "fullImageURLs":[ "/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg" ], "active":true, "thumbImageURLs":[ "/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=100&width=100" ], "creationDate":"2014-10-27T05:11:57.034Z", "variantValuesOrder":{ "color":[ "Spring Green", "Cranberry", "Marigold" ], "size":[ "Small", "Large", "Medium" ] }, "route":"/16-candles/product/Product_19Cxy", "mediumImageURLs":[ "/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=475&width=475" ], "repositoryId":"Product_19Cxy", "primarySourceImageURL":"/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=300&width=300", "shippingSurcharge":20, "primarySmallImageURL":"/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=300&width=300", "sourceImageURLs":[ "/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=300&width=300" ], "avgCustRating":4.5, "listPrice":19.99 } ] }
Default ResponseThe error responseBodyRoot Schema : errorModelType:object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - errors
-
Type:
array
errorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code - type
-
Type:
string
The URI to the HTTP state code definition
Nested Schema : errorsNested Schema : itemsType:object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code
Examples
Sample Response Payload returned by endpoint:
{ "total": 92, "totalResults": 92, "totalExpandedResults": 92, "limit": 250, "sort": [{ "property": "displayName", "order": "asc" }], "items": [{ "longDescription": "It's Samantha Baker's Sweet Sixteen and no one in her family remembers\n the important occasion. John Hughes, the writer of National Lampoon's Vacation, shows how coming-of-age\n can be full of surprises in this warm-hearted teenage comedy starring Molly Ringwald. She's your average\n teen, enduring creepy freshmen, spoiled siblings, confused parents and the Big Blonde on Campus who\n stands between her and the boy of her dreams. But wait...the day isn't over yet! This sparkling film\n features a dynamic score, and outstanding performances by Paul Dooley, Emmy winner Blanche Baker and\n Oscar nominee Justin Henry.\n ", "primaryThumbImageURL": "/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=100&width=100", "largeImage": null, "smallImage": null, "nonreturnable": false, "displayName": "16 Candles", "orderLimit": null, "description": "A really great movie that you should not miss.", "primaryFullImageURL": "/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg", "listPrices": null, "salePrices": null, "productVariantOptions": [{ "optionValueMap": { "Silver": 1, "Neon": 2, "Black": 0 }, "optionId": "color", "mapKeyPropertyAttribute": "sku-camcorder_color", "optionName": "color" }], "largeImageURLs": ["/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=940&width=940"], "primaryLargeImageURL": "/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=940&width=940", "smallImageURLs": ["/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=300&width=300"], "shippingSurcharges": null, "id": "Product_19Cxy", "childSKUs": [ { "dynamicPropertyMapLong": {}, "primaryThumbImageURL": null, "largeImage": null, "smallImage": null, "nonreturnable": false, "listPrices": null, "salePrices": null, "primaryFullImageURL": null, "productListingSku": null, "largeImageURLs": [], "primaryLargeImageURL": null, "smallImageURLs": [], "shippingSurcharges": null, "thumbnailImage": null, "salePriceEndDate": null, "salePriceStartDate": null, "images": [], "salePrice": 4.99, "primaryMediumImageURL": null, "fullImageURLs": [], "active": true, "thumbImageURLs": [], "mediumImageURLs": [], "repositoryId": "Sku_19Dxy", "DynamicSkuProperty2": "value2", "shippingSurcharge": null, "primarySourceImageURL": null, "DynamicSkuProperty1": "value1", "primarySmallImageURL": null, "sourceImageURLs": [], "listPrice": 12.99 }, { "dynamicPropertyMapLong": {}, "salePriceStartDate": null, "largeImage": null, "smallImage": null, "salePrice": null, "nonreturnable": false, "active": true, "listPrices": null, "salePrices": null, "shippingSurcharges": null, "repositoryId": "Sku_19Dxyi", "shippingSurcharge": 10, "thumbnailImage": null, "salePriceEndDate": null, "listPrice": null }, { "dynamicPropertyMapLong": {}, "salePriceStartDate": null, "largeImage": null, "smallImage": null, "salePrice": 8.99, "nonreturnable": false, "active": true, "listPrices": null, "salePrices": null, "shippingSurcharges": null, "repositoryId": "Sku_19Dxyii", "shippingSurcharge": null, "thumbnailImage": null, "salePriceEndDate": null, "listPrice": 19.99 } ], "salePrice": 8.99, "primaryMediumImageURL": "/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=475&width=475", "fullImageURLs": ["/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg"], "active": true, "thumbImageURLs": ["/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=100&width=100"], "creationDate": "2014-10-27T05:11:57.034Z", "variantValuesOrder": { "color": [ "Spring Green", "Cranberry", "Marigold" ], "size": [ "Small", "Large", "Medium" ] }, "route": "/16-candles/product/Product_19Cxy", "mediumImageURLs": ["/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=475&width=475"], "repositoryId": "Product_19Cxy", "primarySourceImageURL": "/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=300&width=300", "shippingSurcharge": 20, "primarySmallImageURL": "/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=300&width=300", "sourceImageURLs": ["/ccstore/v1/images/?source=http://localhost:8080/file/qaimg/products/sixteen_candles_LARGE.jpg&height=300&width=300"], "avgCustRating": 4.5, "listPrice": 19.99 }] }