Webhooks
Customer Organisation Updated
Webhook event fired when a customer organisation is modified in Phasio
Overview
The Customer Organisation Updated event fires when an existing customer organisation's details are modified. The payload contains the full current state of the organisation.
When it triggers
This webhook fires when:
- A manufacturer updates a customer organisation's details (e.g., name, tax number, approval status) through the platform or API.
- A customer updates their own organisation's details (e.g., contact information, addresses) through the customer portal.
- A new address is added to an existing customer organisation.
Payload
The payload structure is identical to the Customer Organisation Created event. The decrypted payload reflects the current state of the organisation after the update -- not a diff of what changed.
| Field | Type | Nullable | Description |
|---|---|---|---|
id | number | No | Unique identifier for the customer organisation. |
name | string | No | Name of the organisation. |
taxNumber | string | No | Tax identification number. Empty string if not set. |
language | string | No | Preferred language code (e.g., "en", "de"). |
customers | array | No | List of customers in this organisation. See Customer object. |
addresses | array | No | List of addresses. See Address object. |
isTaxExempt | boolean | No | Whether the organisation is tax exempt. |
isApproved | boolean | No | Whether the organisation is approved. |
createdAt | string | No | ISO 8601 date-time when the organisation was originally created. |
lastUpdatedOn | string | No | ISO 8601 date-time of the most recent update. |
For detailed documentation of nested objects (customers, addresses), see the Customer Organisation Created event page.
Example payload
{
"id": 678,
"name": "Acme Manufacturing Inc.",
"taxNumber": "US123456789",
"language": "en",
"customers": [
{
"id": 1,
"email": "john@acme.com",
"phoneNumber": "+1-555-0100",
"firstName": "John",
"lastName": "Doe",
"notificationPreference": "EMAIL"
},
{
"id": 2,
"email": "jane@acme.com",
"phoneNumber": null,
"firstName": "Jane",
"lastName": "Smith",
"notificationPreference": "EMAIL"
}
],
"addresses": [
{
"id": "addr-001",
"street1": "123 Industrial Ave",
"street2": null,
"city": "Austin",
"state": "TX",
"country": "US",
"zip": "73301",
"name": "Headquarters",
"phone": "+1-555-0100",
"email": "info@acme.com",
"residential": false
},
{
"id": "addr-002",
"street1": "456 Warehouse Blvd",
"street2": "Dock 3",
"city": "Austin",
"state": "TX",
"country": "US",
"zip": "73302",
"name": "Warehouse",
"phone": "+1-555-0200",
"email": "warehouse@acme.com",
"residential": false
}
],
"isTaxExempt": false,
"isApproved": true,
"createdAt": "2025-01-10T08:00:00",
"lastUpdatedOn": "2025-06-15T14:20:00"
}Last updated on