AlmondTill/G3N API

NewContactInput

input type

Create-input for a Contact. Substance rule: at least one of person/address is required — an empty contact is VALIDATION/INVALID.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the person's name when given, else 'Contact'; when supplied it must be non-blank.
personContactPersonInputnoPerson-block input for a Contact — a supplied block replaces the stored one wholesale.
addressContactAddressInputnoAddress-block input for a Contact — a supplied block replaces the stored one wholesale.
notesStringno

Used by