Endpoint
x-api-key header for authentication.
Request Body
Accepts anAffiliateDiscoveryCriteriaSetInput object.
Unique identifier for the criteria set. Must match
^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$.Human-readable name for the criteria set. Between 1 and 200 characters.
Optional free-text filter to include in all searches using this set.
Optional negative text filter. Excludes products matching this query.
Array of structured filter criteria objects, each with
field, operator, and value.Example Request
Response
Returns the createdAffiliateDiscoveryCriteriaSet object with HTTP 201 Created.
Error Responses
| Status | Description |
|---|---|
403 Forbidden | Missing or invalid API key. |
409 Conflict | A criteria set with this ID already exists. |
422 Unprocessable Entity | Validation error in the request body. |
503 Service Unavailable | Criteria set storage not configured. |