The query parameters that are set in a secured API key are appended by the engine to the initial query parameters list. Therefore, depending on the parameter, the behavior can either take both values into account or discard the previous values and only consider the last set value.
For example, if multiple attributesToRetrieve
parameters are set in the query arguments list, only the last defined one is taken into account. Therefore, the attributesToRetrieve
setting placed in the secure API key cannot be overridden by the client.
Here are the settings that can be updated by the client even if they are included in the secured API key:
- tagFilters
- facetFilters
- analyticsTags
- optionalTagFilters
- optionalFilters
- optionalFacetFilters
- personalizationFilter
The client can enrich all of these parameters.