Skip to main content

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.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Request fields (all optional)

  • url (string, max 1024): full https:// 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​

OK

Response Headers
    Content-Type