buyer in order payloads and as company on a Person.
| Field | Description |
|---|---|
id | Salesbricks ID of the company. |
name | The company’s name. |
external_id | The company’s ID in your own system, if one has been set. Otherwise null. |
address | The company’s address, or null. See Address. |
is_partner | Always false in company webhooks, which are not sent for partner companies. Elsewhere, such as an order’s buyer, true marks a company that is a partner, a reseller you invoice, whether it appears as the billed party on a partner-billed order or as the buyer on its own direct order. |
webhook_run_id | Salesbricks ID of this webhook run. |
Example
JSON
{
"event_type": "company.created",
"address": {
"city": "Address City",
"country": "Address Country",
"id": "cccccccc-cccc-cccc-cccc-cccccccccccc",
"line_1": "123 Address Line 1",
"line_2": "Address Line 2 ",
"region": "Address Region",
"zip": "00000"
},
"external_id": null,
"id": "77fc9165-7eb4-4ded-9480-437864dcba64",
"is_partner": false,
"name": "Example Co.",
"webhook_run_id": "00000000-0000-0000-0000-000000000000"
}