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. This must be sent as a JSON request.

HTTP request

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

List of query parameters

ParameterTypeRequiredDescription
shop_idStringYesYour 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_secretStringYesYour 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.
itemsListYesA list of product 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"]
}