Skip to content
Zaraftis
Esc
↑↓navigate↵open⌘Jpreview

Reject competitor suggestions

Saves names that are not competitors of the brand. A rejected name is left out of the suggestions of every scan of the brand. Sending a name again changes nothing. A rejected name can still be tracked by adding it to a setup.

PATCH/brands/{brand_id}/competitor-suggestions
Authorization
AuthorizationBearer token · headerrequired

API key sent as Authorization: Bearer <key>. A key belongs to one workspace, has scopes, and can be limited to some brands.

or
AuthorizationOAuth2 access token · headerrequired

OAuth 2.1 sign-in (authorization code with PKCE) used by AI assistants that connect through the Zaraftis MCP server. Discovery URLs are at https://api.zaraftis.com/api/auth.

Path parameters
brand_idstring<uuid>required
Request body
requiredapplication/json
rejectstring[]required
min items 1 · max items 50
Responses
200

The brand's rejected names

successbooleanrequired
dataRejectedCompetitorSuggestionsObjectrequired

Every name rejected for this brand, oldest first.

Show properties
brand_idstring<uuid>required
matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
rejectedstring[]required
request_idstringrequired
min length 1
400

bad_request or validation_failed

successbooleanrequired
errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsobject
field_errorsobject[]
Show properties
Array of object
fieldstringrequired
codestringrequired
Allowed:requiredformattoo_smalltoo_largeunrecognized_keyinvalid
messagestringrequired
request_idRequestIdrequired
404

not_found: unknown id, or an id this key cannot see

successbooleanrequired
errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsobject
field_errorsobject[]
Show properties
Array of object
fieldstringrequired
codestringrequired
Allowed:requiredformattoo_smalltoo_largeunrecognized_keyinvalid
messagestringrequired
request_idRequestIdrequired
429

rate_limited: wait the Retry-After seconds

successbooleanrequired
errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsobject
field_errorsobject[]
Show properties
Array of object
fieldstringrequired
codestringrequired
Allowed:requiredformattoo_smalltoo_largeunrecognized_keyinvalid
messagestringrequired
request_idRequestIdrequired
Request
curl -X PATCH 'https://api.zaraftis.com/v1/brands/497f6eca-6276-4993-bfeb-53cbbbba6f08/competitor-suggestions' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "reject": [
    "string"
  ]
}'
Response
{
  "success": true,
  "data": {
    "brand_id": "1bb61461-e5e3-4ebb-8cc6-5b0c37f1b7da",
    "rejected": [
      "string"
    ]
  },
  "request_id": "string"
}

Was this page helpful?