Query Rewrite Management
Update a query rewrite
Update a query rewrite.
put/query-rewrites/{id}
Request
- Base URLhttps://commerce_studio_id.experiencemanager.lucidworks.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The rewrite's Universally-Unique Identifier (UUID). You can also use the externalId, if the rewrite has one.
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.
Headers
If-Matchstring
The ETag value from a previous GET request. Used for optimistic concurrency control to ensure the rewrite hasn't been modified since it was last retrieved.
Request body
Example request
{
"surfaceForm": "tee shirts",
"outputs": [
"tee shirts",
"t-shirts"
]
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.