Update webhook

Changes address, events, or enables/disables the webhook. Provide only fields to be changed.

PATCH /webhooks/{id}

Parameters

NameTypeRequiredDescription
id integer yes Webhook number (numeric, the id field from the response).
url string no Address to send events to. Only https allowed, internal addresses are prohibited, up to 500 characters.
events array no List of events, e.g., shipment.status_changed, shipment.tracking_updated. Full list in the “Webhooks” section.
active boolean no true or false: enable or pause event sending.

Important to know

Request example

curl -X PATCH https://api.shippickup.com/v1/webhooks/12 \
  -H "Authorization: Bearer $SHIPPICKUP_API_KEY" \
  -H "Idempotency-Key: order-10452-label-v1" \
  -H "Content-Type: application/json" \
  -d '{
    "active": false
}'

Response example 200

JSON
{
    "data": {
        "active": false,
        "id": 12,
        "url": "https://example.com/shipto/webhook",
        "events": [
            "shipment.status_changed",
            "shipment.tracking_updated"
        ],
        "created_at": "2026-12-04T10:15:30+00:00"
    }
}

Possible errors

HTTPCodeDescription
404not_foundObject not found among your account's objects (order, address, invoice, webhook, member, or team invitation), or the order has no active pickup, or the method does not exist. Objects belonging to others appear as non-existent.
422validation_failedError in request fields. error.details specifies the reason for each field.
422idempotency_key_requiredMissing or invalid Idempotency-Key header: must be 16–64 characters A-Za-z0-9_-.
422idempotency_key_reusedЭтот Idempotency-Key уже использован для другого запроса: для нового запроса нужен новый ключ.
403insufficient_scopeKey lacks the required permission, specified in error.details.required_scope.
429rate_limitedKey request limit exceeded. Retry after the time specified in the Retry-After header.

Full list of error codes →