Redirect

A redirect is represented as a redirect object. It consist of a list of queries and the url which they should redirect to.

AttributeTypeRequiredDescription
urlstrRequiredThe url for which the queries should redirect to
querieslist of queryRequiredThe queries which should trigger the redirect.

A query is represented by a query object, which consists of the query itself and a boolean that determines if the trigger should happen on an exact match or a partial match.

AttributeTypeRequiredDescription
querystrRequiredThe query that should trigger the redirect
exact_matchbooleanRequiredDetermines if the trigger should only happen on an exact match.
{
  "url": "https://awesomestore.com/about-us",
    "queries": [{
      "query": "About",
      "exact_match": false
    },{
      "query": "Info",
      "exact_match": true
    }]
}