Skip to main content
GET
/
endpoint
Request product list
curl --request GET \
  --url https://api.example.com/endpoint

Documentation Index

Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint retrieves a list of products.
Kameleoon does not include the filters object in the response if you do not use the categories or filters query parameters.

Request

GET https://api.products.kameleoon.com/products

Query parameters

ParameterTypeRequiredDescription
didStringTrueDevice ID. Get this ID from the KameleoonProducts_device_id cookie. Retrieve it from the backend before calling this endpoint. Only provide did when using filters or algorithms that rely on historical device data, such as “Recently Viewed” or “Recommended for You.”
sidStringTrueTemporary user session ID. Get this ID from the KameleoonProducts_session_code cookie. Retrieve it from the backend before calling this endpoint. Only provide sid when using filters or algorithms that rely on historical user data, such as “Recently Viewed” or “Recommended for You.”
shop_idStringTrueStore Key. Find this in Recommendations > Settings > Store settings in the Kameleoon app. Contact your Customer Success Manager for the key if necessary.
limitIntegerFalseMaximum number of results the API returns.
pageIntegerFalseMaximum number of pages the API returns.
locationsArrayFalseComma-separated list of location IDs.
brandsArrayFalseComma-separated list of brands for filtering.
merchantsList of stringsFalseComma-separated list of merchants for filtering.
categoriesList of stringsFalseComma-separated list of categories for filtering.
filtersJSON stringFalseOptional escaped JSON string with filter parameters. Example: {"bluetooth":["yes"],"offers":["15% cashback"],"weight":["1.6"]}
filters_search_byJSON stringFalseFilter search options: name, quantity, popularity.

Response

NameTypeDescription
brandsArrayBrand information. Each object contains these properties.
categoriesArray of objectsCategory information. Each object contains these fields.
filtersArrayFilter information. Each object contains these properties.
price_rangeObjectMinimum and maximum product prices. Contains these properties.
productsArray of objectsProduct information. Each object contains these properties.
products_totalIntegerTotal count of products.
price_rangesArray of objectsObjects containing to and count fields, representing the upper limit of the price range and the number of products in that range.
price_medianIntegerMedian product price.

Brand properties

NameTypeDescription
nameStringBrand name.
pictureStringBrand picture URL.
countIntegerNumber of matches.

Category fields

NameTypeDescription
idStringCategory ID.
nameStringCategory name.
urlStringCategory URL.
url_handleStringPath to the category.
countNumberNumber of products in the category.
parentStringParent category ID.
aliasStringAlternate category name.

Filter properties

NameTypeDescription
filterObjectContains these properties.

Filter value fields

NameTypeDescription
countIntegerTotal count of products matching the selected filters.
priorityIntegerFilter priority.
rangesIntegerAggregation result ranges.
valuesArray of objectsValue objects containing these properties.

Value details

NameTypeDescription
valueStringValue label.
countIntegerNumber of products with this parameter.

Price range fields

NameTypeDescription
minIntegerMinimum price.
maxIntegerMaximum price.

Product fields

NameTypeDescription
brandStringProduct brand.
currencyStringProduct currency. Matches the currency in shop settings.
idStringProduct ID.
is_newBooleanProduct property (NULL by default).
nameStringProduct name.
old_priceStringProduct old price (0 by default).
priceIntegerProduct price.
price_formattedStringProduct price with currency.
price_full_formattedStringFormatted product price (for example, “547.67 $”).
pictureStringProduct picture URL in Kameleoon storage.
urlStringProduct URL.
descriptionStringProduct description.
category_idsArray of stringsIDs of categories for the product.
fashion_featureStringFashion category feature (for example, “for kids” or “adult”).
fashion_genderStringProduct gender designation.
sales_rateIntegerNumber of products sold.
relative_sales_rateIntegerShare of sales as a percentage.
image_URLStringURL to the original product image.
image_URL_handleStringPath to the product image.
image_URL_resizedObjectImage sizes and their corresponding paths.
_idStringInternal ID.
group_idStringIdentifier for grouped products.
barcodeStringProduct barcode.
categoriesArrayProduct categories. Each object contains these properties.

Product category properties

NameTypeDescription
idStringCategory ID.
nameStringCategory name.
parentStringParent category ID.
paramsArrayParameter objects containing these properties.

Parameter properties

NameTypeDescription
keyStringParameter name.
valuesArrayList of values.