v1
latestOpenAPI 3.1.02026-07-241765501.1 MBMetadata overrides
Patch an existing metadata override rule for the specified field name.
🔐 This endpoint requires HTTP authentication (either Basic or Bearer). For authenticating with Bearer token, required scopes are: metadata_overrides(w).
patch/v1/metadata_overrides/{field_name}
Path parameters
field_namestring required
Query parameters
keystring required
The key of the index to use.
Example:key_K2pX7vBnU0bgA5xp
sectionstring
The section of the index to use. Defaults to Products.
Example:Products
cstring
The ID of the client and version that the request is coming from, such as cio-js-2.90.
Example:cio-js-2.90
Request body
Example request
{
"rules": [
{
"start_time": "2024-03-06T16:05:19",
"end_time": "2024-03-07T16:05:19",
"replaced_field_name": "price",
"replaced_field_path_in_metadata": "data.sale_price"
}
]
}Response
OK
Example response
{
"rules": [
{
"start_time": "2024-03-06T16:05:19",
"end_time": "2024-03-07T16:05:19",
"replaced_field_name": "price",
"replaced_field_path_in_metadata": "data.sale_price"
}
]
}