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:
stringthe catalog ID for the site- categoryId
Type:stringthe category ID- includeChildSKUsListingIds
Type:booleanIf this flag is true then listingVariant repository id will be included in each of the childSKU of style based product- includeChildren
Type:booleanflag to include children of categories or not- limit
Type:integerThe number of items per block- offset
Type:integerstartingIndex the index of the first record to load- productIds
Type:stringthe list of product IDs- q
Type:stringA 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:stringSort Option id: Sort order- storePriceListGroupId
Type:stringthe price list group id for which product prices are to be returned- totalExpandedResults
Type:booleanflag to include count of total products with listing variant expansion- totalResults
Type:booleanflag to include count of total products without expansionHeader 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 : listProducts_response- items
-
Type:
arrayitemsArray having various products. - limit
-
Type:
integerLimit of number of products. - offset
-
Type:
integerOffset of product inventory. - sort
-
Type:
arraysortArray having the order and property of product. - total
-
Type:
integerTotal number of products. Deprecated. - totalResults
-
Type:
integerTotal number of products.
Nested Schema : sortNested Schema : itemsType:object- avgCustRating
-
Type:
stringAverage customer rating of the product. - childSKUs
-
Type:
arraychildSKUsArray having various properties of child SKU. - description
-
Type:
stringDescription of the product. - displayName
-
Type:
stringDisplay name of the product. - fullImageURLs
-
Type:
arrayfullImageURLsFull image URLs of the product. - id
-
Type:
stringID of the product. - largeImage
-
Type:
objectlargeImageArray having repository ID and URL of the large image of SKU. - largeImageURLs
-
Type:
arraylargeImageURLsLarge image URLs of the product. - listPrice
-
Type:
numberList price of the product in the default price group. - listPrices
-
Type:
objectlistPricesObject with price group IDs as keys and list prices as values. - longDescription
-
Type:
stringLong description of the product. - mediumImageURLs
-
Type:
arraymediumImageURLsMedium image URLs of the product. - orderLimit
-
Type:
stringOrder limit of the product. - primaryFullImageURL
-
Type:
stringPrimary full image URL of the product. - primaryLargeImageURL
-
Type:
stringPrimary large image URL of the product. - primaryMediumImageURL
-
Type:
stringPrimary medium image URL of the product. - primarySmallImageURL
-
Type:
stringPrimary small image URL of the product. - primarySourceImageURL
-
Type:
stringPrimary source image URL of the product. - primaryThumbImageURL
-
Type:
stringPrimary thumb image URL of the product. - productImages
-
Type:
arrayproductImagesArray of product images. - productNumber
-
Type:
stringProduct number of the product. - repositoryId
-
Type:
stringRepository id of the product. - route
-
Type:
stringRoute of the product. - salePrice
-
Type:
numberSale price of the product in the default price group. - salePrices
-
Type:
objectsalePricesObject with price group IDs as keys and sale prices as values. - shippingSurcharge
-
Type:
numberExtra handling cost while shipping the product, in the default price group. - shippingSurcharges
-
Type:
objectshippingSurchargesObject with price group IDs as keys and shipping surcharges as values. - smallImage
-
Type:
objectsmallImageArray having repository ID and URL of small image of the SKU. - smallImageURLs
-
Type:
stringSmall image URLs of the product. - sourceImageURLs
-
Type:
arraysourceImageURLsSource image URLs of the product. - thumbImageURLs
-
Type:
arraythumbImageURLsThumb image URLs of the product.
Nested Schema : childSKUsNested Schema : fullImageURLsNested Schema : largeImageType:objectArray having repository ID and URL of the large image of SKU.- repositoryId
-
Type:
stringRepository ID of SKU. - url
-
Type:
stringURL of SKU.
Nested Schema : largeImageURLsNested Schema : listPricesType:objectObject with price group IDs as keys and list prices as values.- Price Group ID 1
-
Type:
numberList price of product in price group 1. - Price Group ID 2
-
Type:
numberList price of product in price group 2.
Nested Schema : mediumImageURLsNested Schema : salePricesType:objectObject with price group IDs as keys and sale prices as values.- Price Group ID 1
-
Type:
numberSale price of product in price group 1. - Price Group ID 2
-
Type:
numberSale price of product in price group 2.
Nested Schema : shippingSurchargesType:objectObject with price group IDs as keys and shipping surcharges as values.- Price Group ID 1
-
Type:
numberShipping surcharge of product in price group 1. - Price Group ID 2
-
Type:
numberShipping surcharge of product in price group 2.
Nested Schema : smallImageType:objectArray having repository ID and URL of small image of the SKU.- repositoryId
-
Type:
stringRepository ID of SKU. - url
-
Type:
stringURL of SKU.
Nested Schema : sourceImageURLsNested Schema : thumbImageURLsNested Schema : itemsType:object- dynamicPropertyMapLong
-
Type:
integerDynamic property map long of the SKU. - DynamicSKUProperty
-
Type:
stringDynamic Properties of SKU. - fullImageURLs
-
Type:
arrayfullImageURLsFull Image URLs of SKU. - id
-
Type:
stringSKU id - largeImage
-
Type:
integerLarge image of the SKU. - largeImageURLs
-
Type:
arraylargeImageURLsLarge Image URLs of SKU. - listingSKUId
-
Type:
stringIt 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:
integerList price of the SKU. - mediumImageURLs
-
Type:
arraymediumImageURLsMedium Image URLs SKU. - primaryLargeImageURL
-
Type:
stringPrimary Large Image URL of SKU. - primaryMediumImageURL
-
Type:
stringPrimary Medium Image URL ID of SKU. - primarySmallImageURL
-
Type:
stringPrimary Small Image URL of SKU. - primarySourceImageURL
-
Type:
stringPrimary Source Image URL of SKU. - primaryThumbImageURL
-
Type:
stringPrimary Source Image URL of SKU. - quantity
-
Type:
integerQuantity of the SKU. - repositoryId
-
Type:
stringRepository ID of the SKU. - salePrice
-
Type:
stringSale price of the SKU. - salePriceEndDate
-
Type:
integerSale price end date of the SKU. - salePriceStartDate
-
Type:
stringSale price start date of the SKU. - shippingSurcharge
-
Type:
integerExtra handling costs while shipping the product. - smallImage
-
Type:
integerSmall image of the SKU. - smallImageURLs
-
Type:
arraysmallImageURLsSmall Image URLs of SKU. - sourceImageURLs
-
Type:
arraysourceImageURLsSource Image URLs of SKU. - thumbImageURLs
-
Type:
arraythumbImageURLsThumb Image URLs of SKU. - thumbnailImage
-
Type:
stringThumbnail image of the SKU.
Nested Schema : fullImageURLsNested Schema : largeImageURLsNested Schema : mediumImageURLsNested Schema : smallImageURLsNested Schema : sourceImageURLsNested Schema : thumbImageURLsNested Schema : itemsType:object- metadata
-
Type:
objectmetadataSeo meta info for product. - name
-
Type:
stringThe name of product image - path
-
Type:
stringThe path of the image - repositoryId
-
Type:
stringThe repository Id of the product image - tags
-
Type:
arraytagsThe array of product image tags - url
-
Type:
stringThe url of the product image
Nested Schema : metadataType:objectSeo meta info for product.- altText
-
Type:
stringThe alt text of the image - titleText
-
Type:
stringThe title text of the image
Nested Schema : itemsType:object- order
-
Type:
stringOrder of listing in product inventory. - property
-
Type:
stringDisplay name as a product property.
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, "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, "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, "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, "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:
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": 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, "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, "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, "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, "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 }] }