v5
latestOpenAPI 3.1.02026-08-04166362486.5 KBstores
Create search rule
Create a new search rule for a store.
Args: store_identifier: The ID or name of the store rule_create: Search rule creation parameters
Returns: SearchRuleResponse: The created search rule details
post/v1/stores/{store_identifier}/rules
Path parameters
The ID or name of the store
Request body
Example request
{
"rules": [
{
"substitution": "query1"
}
]
}Response
The created search rule
Example response
{
"rules": [
{
"substitution": "query1"
}
]
}