Query Rewrite Management
Create a query rewrite
Create a query rewrite in Commerce Studio.
post/query-rewrites
Request
- Base URLhttps://commerce_studio_id.experiencemanager.lucidworks.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
fieldsstring[]
Optional additional fields to include in the response. Keep in mind that additional fields can slow the call and increase the response size.
Request body
Example request
{
"surfaceForm": "tee shirts",
"outputs": [
"tee shirts",
"t-shirts"
]
}Response
Created
Changes
No recorded changes to this operation across all 1 revision of this API.