JSON API
...
Examples
Batch Updates
Simple Products
1min
Following is a sample payload with required data points to index products:
PUT
Request
Header Parameters
X-KLEVU-AUTH-ALGO
required
String
This is the algorithm used to create the security bearer token.
X-KLEVU-TIMESTAMP
required
String
This should be your current time while generating the request. It is used to keep the request secured and discourage request relays.
X-KLEVU-APIKEY
required
String
This is the API Key of your store. Please refer to the Klevu Merchant Centre manual to understand where to get this key from.
Content-Type
required
String
This needs to be application/JSON as this request body contains a JSON.
The payload is an array of objects, meaning, you can submit multiple items for indexing in a single request and recommended too. There is no limit to the number of objects in a request, but the total size of the request should be under 2MB. Please plan your batch size accordingly.
Updated 04 Nov 2024
Did this page help you?