Delete webhook

Deletes the webhook along with its delivery log.

DELETE /webhooks/{id}

Parameters

NameTypeRequiredDescription
id integer yes Webhook number (numeric, the id field from the response).

Important to know

Request example

curl -X DELETE https://api.shippickup.com/v1/webhooks/12 \
  -H "Authorization: Bearer $SHIPPICKUP_API_KEY"

Response example 200

JSON
{
    "data": {
        "id": 12,
        "deleted": true
    }
}

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.
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 →