The Contacts object
A contact object represents a customer, supplier, or dual-role trading partner. Core identity fields (name, company, email) are complemented by a full UK postal address, banking details for payment tracking, and configurable defaults for payment terms and currency.
The isActive flag controls visibility in filtered lists. Contacts deactivated via the DELETE endpoint retain all data and relationships but default to hidden in list queries.
Attributes
id stringPrefixed contact ID (e.g. cont_3). Immutable after creation.
contactType stringOne of
customer, supplier, or both. Determines which transaction flows the contact participates in. Contacts marked both appear in both customer and supplier filtered lists.name stringPrimary display name. Required. Used for search matching alongside company and email.
company stringOptional company or trading name. Searched alongside name and email in list queries.
email stringOptional email address. Validated format when provided. Used for invoice delivery.
phone stringOptional phone number. Free-text, no format validation.
addressLine1 stringFirst line of the postal address.
addressLine2 stringSecond line of the postal address.
city stringCity or town.
region stringCounty, region, or state.
postalCode stringPostal code or ZIP code.
country stringCountry name. Defaults to
United Kingdom on creation.vatNumber stringVAT registration number. Free-text, no format validation. Used on invoices for compliance.
paymentTerms stringDefault payment terms in days. Integer 0–365, defaults to 30. Applied when creating invoices for this contact.
currency stringISO 4217 currency code. 3 characters, defaults to
GBP. Determines the currency used on invoices for this contact.bankName stringName of the contact's bank. Optional, for payment reference.
bankSortCode stringUK sort code. Optional, for payment reference.
bankAccount stringBank account number. Optional, for payment reference.
bankIban stringInternational Bank Account Number. Optional, for international payments.
isActive stringWhether the contact is active. Inactive contacts are hidden from default list queries but retained for audit. Set to
false automatically when a contact with invoices is deleted.notes stringFree-text notes. Up to 2,000 characters. Not visible on invoices.
metadata stringCustom key-value pairs. Max 50 keys, values must be strings. Keys prefixed
_sb_ are reserved. Uses merge semantics on update — send null to remove a key.createdAt stringISO 8601 creation timestamp.
updatedAt stringISO 8601 last-updated timestamp.