Skip to main content

Update available products

Use this endpoint to update the list of products that are available (in-stock) using a list of IDs of all available items.

PATCH https://api.products.kameleoon.com/import/products

Query parameters

ParameterRequiredDescription
shop_idRequiredYour Store Key. You can find this in Recommendations > Settings > Store settings in the Kameleoon app. You can also contact your Customer Success Manager for the key.
shop_secretRequiredYour Secret Key. You can find this in Recommendations > Settings > Store settings in the Kameleoon app. You can also contact your Customer Success Manager for the key.
itemsRequiredA list of item IDs that are in stock. List the identifiers of all products that are available (in-stock). Items in the database that are not included in the PATCH request are marked as not available (out-of-stock).

Example JSON request

{
"shop_id": "eehj3eu84299kg5ghw5a6743r8",
"shop_secret": "pmd5362597thrgq8k256ep01t0",
"items": ["1235", "4337", "7578"]
}