Webhooks
Webhook aktualisieren
Aktualisieren Sie URL, Ereignisse oder Status, ohne das Geheimnis zu ändern.
PATCH
/webhooks/{id}webhooks:writeAnfrage
idstring · pathRessourcenbezeichner.obligatorischnamestring · bodyName.optionalurlstring · bodyÖffentliche HTTPS-URL.optionaleventsarray · bodyEreignisse oder *.optionalactiveboolean · bodyAktiviert das Ziel.optionalBeispiel
curl
curl -X PATCH 'https://achadu.com/api/v1/webhooks/resource_id' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"name": "My integration",
"url": "https://example.com/product",
"events": [
"offer.created"
]
}'Antwort
200Vorgang abgeschlossen4xxFehler mit Code, Nachricht und request_id