Update a Webhook
PATCH
/v1/customers/:id
Updates the webhook with the given ID and provided attributes.
Attributes
url
A valid URL of the endpoint that should receive webhook events.
events
An array of webhook event types that should be sent to the webhook endpoint.
See the list of available event types.
secret
A string used by Lemon Squeezy to sign requests for increased security.
Learn about receiving signed requests.
The secret
is never returned in the API. To view the secret of a webhook, open the webhook in your dashboard.
Returns
Returns the updated Webhook object.