Webhooks
Update a webhook endpoint
Changed onUpdate the URL, name, status or event filter of a webhook endpoint. Only supplied fields change.
patch/v1/webhooks/{id}
Request
- Base URLhttps://api.creem.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The webhook ID
Request body
Example request
{
"url": "https://example.com/webhooks/creem",
"name": "Production billing events"
}Response
Successfully updated the webhook endpoint
Example response
{
"object": "webhook",
"store_id": "sto_1234567890",
"name": "Production billing events",
"url": "https://example.com/webhooks/creem",
"events": [
"checkout.completed",
"subscription.paid"
],
"secret": "whsec_xxxxxxxxxxxxxxxxxxxx"
}Changes
- info
added the required property
to the response with the status
- info
- info
endpoint added
- info