v1
latestOpenAPI 3.0.32026-07-2659199427.5 KBQuery Rewrite Management
Update a query rewrite
Update a query rewrite.
put/query-rewrites/{id}
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