Webhook endpoints · Update an endpoint
API reference / Webhook endpoints
Update an endpoint
PUT/api/v1/webhook_urls/:idwebhooks:manage
Change an endpoint's URL or event.
Path parameters
idintegerrequired
The endpoint's ID.
Body
urlstring
New URL.
eventstring
New event.
Headers
Authorizationheaderrequired
Bearer with your secret key, or the merchant's OAuth token.
Returns
The updated endpoint, with 201.
Errors
401 | The key or token is missing, wrong or revoked, is for the other environment, or doesn't have the scope this endpoint needs. |
422 | The URL isn't a web address. |