Skip to main content
Parcel Events Sandbox Docs

Search documentation

Type to search this documentation.

Update a webhook endpoint

PATCH/v1/webhook-endpoints/{endpoint_id}Update a webhook endpoint

Parameters

endpoint_idstringpathrequired

pattern ^whe_[a-z0-9]{20}$

Request body

required
application/merge-patch+json
objectUpdateWebhookEndpointRequest

minProperties 1

enabledboolean
eventsarray of string

minItems 1 · uniqueItems true

Show child attributes

minItems 1 · uniqueItems true

urlstring · uri
Example request
{
  "enabled": true,
  "events": [
    "pickup.completed"
  ],
  "url": "https://example.com"
}

Responses

200Updated endpointapplication/json
objectWebhookEndpoint
created_atstring · date-timerequired
enabledbooleanrequired
eventsarray of stringrequired
Show child attributes
idstringrequired
objectvaluerequired

const "webhook_endpoint"

signing_secret_hintstring
urlstring · urirequired
Example response
{
  "created_at": "2026-06-09T00:00:00Z",
  "enabled": true,
  "events": [
    "pickup.completed"
  ],
  "id": "whe_00000000000000000001",
  "object": "webhook_endpoint",
  "signing_secret_hint": "synthetic-key-ending-0000",
  "url": "https://hooks.parcel-events.example/events"
}
404The requested synthetic resource does not existapplication/problem+json
objectProblem
detailstring
errorsarray of object
Show child attributes
Show array items
messagestringrequired
pathstringrequired
request_idstringrequired
statusintegerrequired

maximum 599 · minimum 400

titlestringrequired
typestring · urirequired
Example response
{
  "request_id": "req_00000000000000000004",
  "status": 404,
  "title": "Synthetic resource was not found",
  "type": "https://parcel-events.example/problems/not-found"
}

Documentation menu