Capture user feedback on search results to improve search quality and relevance.
<YOUR_LAYERS_TOKEN>. Same requirements as the Search API.search_id returned from the Prepare Search endpoint."positive" - Thumbs up, results were helpful"negative" - Thumbs down, results were not helpfulsearch_id is required and must be a valid ULIDrating must be either "positive" or "negative" if providedtext_feedback has a maximum length of 2000 charactersproduct_feedback is an array where each item must include:
product_id (required when product_feedback is provided)rating must be "positive" or "negative" if providedfeedback has a maximum length of 500 charactersrating, text_feedback, or product_feedback should be provided, though all fields are technically optionalsearch_idsearch_id), feedback is still recorded but without the search contextsessionId and customerId) if providedtrue when feedback is successfully recorded.X-Storefront-Access-Token