Skip to main content
Update the search criteria of a Property alert
PATCH /v2/protected/properties/search/alerts/{alertId} modifie une alerte properties en place. Champs modifiables : search_query, webhook_url, match, search_name, context. ⚠️ Toujours préférer PATCH à delete + recreate. Le PATCH conserve le lien vers les properties déjà matchées : si vous activez ultérieurement ALERT_MATCH_MERGED, vous recevrez les fusions des biens déjà capturés. Une recréation perd ce lien.

Cas d’usage

  • Migration webhook — pivoter webhook_url après un changement d’infra sans perdre l’historique.
  • Activer les fusions sur une alerte existante — passer match de ["ALERT_MATCH_CREATED"] à ["ALERT_MATCH_CREATED", "ALERT_MATCH_MERGED"] pour commencer à recevoir les enrichissements des properties déjà capturées.
  • Resserrer un filtre — ajouter un range prix ou un type sans casser l’historique.

Authorizations

x-api-key
string
header
required

Path Parameters

alertId
string
required

Body

application/json
search_query
object
required
webhook_url
string
search_name
string
match
enum<string>[]
Available options:
ALERT_MATCH_UNKNOWN,
ALERT_MATCH_CREATED,
ALERT_MATCH_MERGED
Example:
context
object

Response

data
object
required