Organisation
The organisation entity represents a company or account involved in a commerce transaction. It stores the organisation name, contact details, addresses, and a reference to the primary contact person.
| Field | Type | Description |
|---|---|---|
salesforceKey |
String | Salesforce ID for the organisation. Included for consistency with other Salesforce records. |
key |
String | Dispatching platform key for the organisation. |
partyType |
String | Always set to "account" when dealing with organisations. |
name |
String | Organisation name. Almost always required downstream. |
primaryContact |
Person | Primary contact person for the organisation. |
phoneType |
String | Organisation phone type. Typically "work" for business contexts. |
phone |
String | Organisation phone number. No validation or parsing is applied. |
emailType |
String | Organisation email type. Typically "work" for business contexts. |
email |
String | Organisation email address. |
website |
String | Organisation website URL. |
mailingAddress |
Address | Organisation's primary mailing address. |
otherAddress |
Address | Organisation's secondary or alternative address. |
custom |
Object | Custom key-value pairs for platform-specific or industry-specific data. |
createdAt |
DateTime | Creation date provided by the source platform. |
modifiedAt |
DateTime | Last modification date provided by the source platform. |