Update facet campaign

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

Update a facet campaign. It will update only the fields that are present in the request.

Path Params
int32
required
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
slot_rules
array
Slot Rules
blacklist_rules
array
Blacklist Rules
string

The name of the facet campaign.

string

The description of the facet campaign.

refined_queries
array of objects
length ≤ 100

A list of refined queries.

Refined Queries
refined_filters
array of objects
length ≤ 100

A list of refined filters.

Refined Filters
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
:
LoadingLoading…
Response
Choose an example:
application/json