id in the request body must match the criteria_set_id in the path.
Endpoint
x-api-key header for authentication.
Path Parameters
The criteria set identifier to create or replace.
Request Body
Accepts anAffiliateDiscoveryCriteriaSetInput object — the same structure as the Create Criteria Set endpoint. The id field in the body must match the criteria_set_id path parameter.
Example Request
Response
Returns the created or updatedAffiliateDiscoveryCriteriaSet with HTTP 200 OK.
Error Responses
| Status | Description |
|---|---|
403 Forbidden | Missing or invalid API key. |
422 Unprocessable Entity | Path and body IDs do not match, or other validation error. |
503 Service Unavailable | Criteria set storage not configured. |