Skip to main content

Welcome to our Dev Docs!

Contract Data Changed

Sent whenever data of a contract has changed. This occurs if you execute a PUT/PATCH on a contract, update customfields or the external Id.

Typical Scenario

You want to listen to this hook to make sure your system gets notified when there was a change. To find out what the current state of the contract is, simply fetch the referenced contract by id.

HTTP/1.1
POST /billwerk-hook
Host: example.com
Content-Type: application/json

{
    "ContractId": "6298a006e636b694d807080f",
    "CustomerId": "6298a006e636b694d8070809",
    "Event": "ContractDataChanged",
    "EntityId": "62148e3c0c14e1609e9ca5c1"
}