Create a new metadata override rule

šŸ” This endpoint requires HTTP authentication (either Basic or Bearer). For authenticating with Bearer token, required scopes are: metadata_overrides(w).

Query Params
string
required
length between 1 and 100

The key of the index to use.

string
length between 1 and 100

The section of the index to use. Defaults to Products.

string
length between 1 and 100

The ID of the client and version that the request is coming from, such as cio-js-2.90.

Body Params
string
required
length between 1 and 100

Field name associated with the metadata override configuration.

string
required
length between 1 and 300

Path to the field in metadata where the metadata override configuration is applied.

rules
array of objects
required
length between 1 and 5

List of rules associated with the metadata override configuration. In total, there can be a maximum of 5 rules per key.

Rules*
Responses

400

Validation Error

401

Credentials are not passed or action is forbidden.

403

The supplied token does not have the required permissions.

404

Not Found

429

Rate limit breached

Language
Credentials
:
Response
Choose an example:
application/json