Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Invoice Webhook Api → Patch Api Contractors Invoices Webhooks Webhook

AI-generated

Summary

Update an existing invoice webhook in Contractors.es by specifying its webhook ID and providing any subset of fields to modify.

Inputs

  • Webhook (required) — The numeric ID of the invoice webhook to patch.
  • Url — The new URL to which webhook events will be sent; omit or use the special value 'DO_NOT_UPDATE' to keep the current URL.
  • Event — The event type(s) the webhook listens to; optional values include created, updated, deleted, restored, saved, all, or 'DO_NOT_UPDATE' to leave unchanged.
  • Payload — A JSON object representing the payload structure sent with the webhook; omit to retain existing payload.
  • Columns Changed — A JSON object listing columns that trigger the webhook when changed; omit to keep existing settings.
  • Description — A descriptive string for the webhook; omit or use 'DO_NOT_UPDATE' to keep current value.
  • Active — A flag (true/false) indicating if the webhook is active; omit to avoid changes.

Output shape

a JSON object representing the updated webhook resource

Only the fields supplied (not set to the sentinel 'DO_NOT_UPDATE') are patched; other fields remain unchanged. The 'Webhook' field identifies which webhook is updated.

Links

Discussion