Update Dropship Webhook
PUT/api/admin/portal/accounts/:customer/webhooks/:webhook
Change an endpoint's URL, events or on/off switch. Omitted fields stay as they are. Setting active to true on a switched-off endpoint clears its failure count and disabled_at. Requires the portal.manage permission.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Request fields (all optional)
url(string, max 1024): fullhttps://URL resolving to a public address.events(array, at least 1 when sent): event names as in Create Dropship Webhook.active(boolean).
Errors. 404 when the webhook does not belong to the account; 422 on validation.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.