LeverancierContact::postSaveΒΆ
{
"version": "0.1",
"data": {
"id": 211,
"type": "leverancier",
"displaynaam": "Reddingsvesten BV",
"naam": "Reddingsvesten BV",
"adres": "Industrieweg 5",
"postcode": "9723AX",
"plaats": "Groningen",
"landcode": "NL",
"provinciecode": "NL-GR",
"website": "https://www.reddingsvesten-bv.nl",
"btw_nummer": "NL123456789B01",
"user_id": null,
"bedrijf_id": 3,
"deactivated_at": null,
"image_filename": "",
"extra_fields": "[]",
"status": "actief",
"onchange": "mailen",
"veelgebruikt": true,
"betalen_vanaf": null,
"uitje_activiteit_herinnering": false,
"soort_klant": null,
"afdeling": null,
"factuur_adressering": "Reddingsvesten BV\nT.a.v. Inkoop\nIndustrieweg 5\n9723AX Groningen",
"send_automatic_bookingmails": false
},
"meta": {}
}
Explanation:
id: integer.
type: string. Allowed values: klant, leverancier, overig, personeel. For this webhook the value is leverancier.
displaynaam: string. Human-friendly display name; auto-derived from naam or main contact.
naam: string|null. Supplier name.
adres: string|null.
postcode: string|null. Dutch format example 1234AB (no space) or 1234 AB.
plaats: string|null.
landcode: string|null. ISO 3166-1 alpha-2, e.g. NL.
provinciecode: string|null. ISO 3166-2, e.g. NL-GR.
website: string|null. Absolute URL.
btw_nummer: string|null. VAT number.
user_id: integer|null. Linked sfGuardUser id when applicable.
bedrijf_id: integer. Owning company id.
deactivated_at: non-empty-string|null. Returned as ISO 8601 date-time when contact was anonymised/deactivated.
image_filename: string. Stored image filename if uploaded.
extra_fields: string. JSON-encoded array of extra fields.
status: enum. Allowed: actief, passief.
onchange: enum. Allowed: mailen, niks.
veelgebruikt: boolean. Marks frequently used contacts.
betalen_vanaf: date|null. Returned as ISO 8601 date YYYY-MM-DD.
uitje_activiteit_herinnering: boolean.
soort_klant: string|null. Usually not used for suppliers.
afdeling: string|null.
factuur_adressering: string|null. Multi-line invoice addressing; lines separated by n.
send_automatic_bookingmails: boolean.
Webhook selection: use LeverancierContact::postInsert for creations and LeverancierContact::postUpdate for updates.