Request Parameters
Path Parameters
Request Body
New HTTPS URL where webhook events will be sent
New list of event types to subscribe to (null to keep existing)
New description of the webhook endpoint
{
"url": "https://example.com/new-webhook",
"filterTypes": ["shipment.created", "shipment.cancelled"],
"description": "Updated production webhook"
}
{
"id": "ep_2KtRQ8fTStWPKrXP",
"url": "https://example.com/new-webhook",
"filterTypes": ["shipment.created", "shipment.cancelled"],
"active": true,
"created_at": "2024-01-15T10:00:00Z",
"description": "Updated production webhook"
}
You can also use PATCH /api/partner_webhooks/{id} with the same request body format.
Response Fields
Unique identifier for the webhook endpoint
HTTPS URL where webhook events are sent
Event types this endpoint is subscribed to
Whether the endpoint is active
When the endpoint was created (ISO 8601 format)
Description of the webhook endpoint