Edit a competitor
Changed onEdit a tracked competitor as the in-app competitor sheet does: rename it, change its website domain, make it a direct or a SERP competitor, and add or remove the other names it goes by (name variations), which is how its mentions are recognised in AI answers. Changing the domain, or making it direct, re-matches its past mentions in the background. Everything is checked before anything is written: a variation that is another competitor's name is refused with 409 conflict (merge the two in the app instead), and removing a name the competitor does not have is refused with 400. A name confirmed as another competitor's variation moves to this one. A body with no fields changes nothing and answers with the competitor and its name variations. Requires the competitor:match capability and a manage-tier role, as in the app. A pitch project that is not currently active refuses with 409 INACTIVE_PITCH_PROMPT_MUTATION.
Request
- Base URLhttps://app.searchable.com
- AuthHTTP bearer
Path parameters
The project id.
The competitor's id.
Request body
Response
Competitor updated.
Changes
- info
endpoint added
- info