JSON API
...
Examples
Batch Updates
Additional Data
1min
there might be cases where you need to index certain attributes only for front end rendering purposes e g you want to index a complex json object, which is not indexed or used for merchandising, but only to render in the frontend and used in javascript, then you can use the “additionaldatatoreturn” attribute \[ { "id" "1", "type" "klevu product", "attributes" { "name" { "default" "product 1" }, "brand" "ucb", "size" "s", "additionaldatatoreturn" { "myattribute" "my value", "border color" "red", "card height" "30px" } } } ] this will index a special attribute “ additionaldatatoreturn ” in the product in the storefront api, request this attribute to be returned and you will get the data indexed as is