---
title: Additional Data
slug: indexing-apis/additional-data
docTags: 
createdAt: 2023-10-12T15:16:16.197Z
---



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.

:::BlockQuote
\[
&#x20; \{
&#x20;   "id": "1",
&#x20;   "type": "KLEVU\_PRODUCT",
&#x20;   "attributes": \{
&#x20;     "name": \{ "default": "Product 1" },
&#x20;      "brand" : "UCB",
&#x20;      "size" : "s",
&#x20;      "additionalDataToReturn": \{
&#x20;       "myAttribute" : "my value",
&#x20;       "border-color" : "red",
&#x20;       "card-height" : "30px"
&#x20;      }
&#x20;   }
&#x20; }
]
:::

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.
