Storefront Integration
Query API Overview
Implementing Search and Navigation
Request Structure
Response Handling and Rendering
{
"info": {
"lang": "en",
"country": "GB",
"locale": { ... },
"current-universe": "uk-shop",
"view": "search",
"mode": "user",
"query": "//uk-shop/en_GB/$s=shirt",
"path": "/fredhopper/query",
"type": "search",
"query-string-httpencoded": "fh_location=%2f%2fuk-shop%2fen_GB%2f%24s%3dshirt",
"ranges": { ... },
"url": "/fredhopper/query.fh?fh_location=%2f%2fuk-shop%2fen_GB%2f%24s%3dshirt",
"source-xml": "/fredhopper/query?fh_location=%2f%2fuk-shop%2fen_GB%2f%24s%3dshirt",
"server": { ... }
},
"searchterms": {
"term": {
"value": "shirt",
"profile": ""
}
},
"searchpass": "EXACT 2020",
"universes": {
"universe": [
{
"link": { ... },
"facetmap": [ ... ],
"breadcrumbs": { ... },
"items-section": {
"results": { ... },
"heading": { ... },
"items": {
"item": [ ... ]
}
},
"themes": [ ... ],
"display-fields": { ... },
"attribute-types": { ... },
"name": "uk-shop",
"type": "selected"
},
{
"link": {
"name": "uk-shoprelated",
"url-params": "fh_location=%2f%2fuk-shoprelated%2fen_GB"
},
"facetmap": [],
"themes": [],
"name": "uk-shoprelated",
"type": "deselected"
}
]
},
"footer": {},
"qid": "...",
"rid": "..."
}Faceting and Filtering
Sorting and Relevance
Personalization and Recommendations
User Context and Profiles
Implementing Recommendations
A/B Testing and Optimization
Performance Optimization
Caching Strategies
Query Optimization
Load Balancing
Error Handling and Fallbacks
Error Handling
Fallbacks
Last updated

