v1

latestOpenAPI 3.0.32026-07-22177397578.0 KB
Product

Get product data

Retrieves attributes for multiple products.

get/product/productData

Query parameters

siteCodestring required

The Kameleoon project ID.

eansstring required

JSON array of <product Id / EAN: string>.

A JSON array of product IDs or EANs. For example, <code>["ean1","ean2"]</code>. Limit the array to 100 products.

allboolean

Set to <code>true</code> to get all fields for the given product.

nameboolean

Set to <code>true</code> to get the <code>name</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

categoriesboolean

Set to <code>true</code> to get the <code>categories</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

urlboolean

Set to <code>true</code> to get the <code>url</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

imageURLboolean

Set to <code>true</code> to get the <code>imageURL</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

availableboolean

Set to <code>true</code> to get the <code>available</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

availableQuantityboolean

Set to <code>true</code> to get the <code>availableQuantity</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

brandboolean

Set to <code>true</code> to get the <code>brand</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

isChildboolean

Set to <code>true</code> to get the <code>isChild</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

isFashionboolean

Set to <code>true</code> to get the <code>isFashion</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

fashionboolean

Set to <code>true</code> to get the <code>fashion</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

skuboolean

Set to <code>true</code> to get the <code>sku</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

merchantIDboolean

Set to <code>true</code> to get the <code>merchantID</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

oldPriceboolean

Set to <code>true</code> to get the <code>oldPrice</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

tagsboolean

Set to <code>true</code> to get the <code>tags</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

ratingboolean

Set to <code>true</code> to get the <code>rating</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

descriptionboolean

Set to <code>true</code> to get the <code>description</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

paramsboolean

Set to <code>true</code> to get the <code>params</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

groupIdboolean

Set to <code>true</code> to get the <code>groupId</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

accessoriesboolean

Set to <code>true</code> to get the <code>accessories</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

seasonalityboolean

Set to <code>true</code> to get the <code>seasonality</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

priceMarginboolean

Set to <code>true</code> to get the <code>priceMargin</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

isNewboolean

Set to <code>true</code> to get the <code>isNew</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

autoboolean

Set to <code>true</code> to get the <code>auto</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

modelboolean

Set to <code>true</code> to get the <code>model</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

leftoversboolean

Set to <code>true</code> to get the <code>leftovers</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

typePrefixboolean

Set to <code>true</code> to get the <code>typePrefix</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

priceboolean

Set to <code>true</code> to get the <code>price</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

priceHistoryboolean

Set to <code>true</code> to get the <code>timesAndPricesSortedAscTime</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

timeLastViewboolean

Set to <code>true</code> to get the <code>timeLastView</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

timeLastAddToCartboolean

Set to <code>true</code> to get the <code>timeLastAddToCart</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

timeLastBuyboolean

Set to <code>true</code> to get the <code>timeLastBuy</code> field for the given product. Note: Kameleoon ignores this if the <code>all</code> parameter is <code>true</code>.

prettyPrintboolean

Set to <code>true</code> for a "pretty" printed response.

Headers

user-agentstring required

Not always required. Kameleoon rejects an incoming request if the source is a bot or spider, based on IAB/ABC user-agent filtering rules. Kameleoon uses a single-pass method. You don't need to take specific action when sending requests from a web browser using a standard library (XHR). However, in other cases, set a custom value for the User-Agent request header to overwrite the default value the library sets.

Response

Successful operation, products are rendered, of type JSON object {"<product Id / EAN>": <product>}, with <product> of type JSON object