Skip to main content
Input object

ContactInput

The fields of a contact. When creating a contact, give a name or a first or last name. When updating, omitted fields keep their value and null clears a field.

Input fields

  • Postal address.

  • companyString

    Company, up to 200 characters.

  • emailString

    Email address, up to 320 characters.

  • The emergency contact.

  • firstNameString

    First name, up to 120 characters.

  • foodPreferences[FoodPreference!]

    Dietary requirements and preferences.

  • lastNameString

    Last name, up to 120 characters.

  • nameString

    Full name. Use firstName and lastName instead; the full name is composed from them.

  • Private notes as rich text (their plain text up to 5000 characters). Null clears them. A client that edits plain text only sends an empty html: the text then becomes paragraphs, and when it equals the stored text the stored formatting is kept.

  • phoneString

    Phone number. It is stored in E.164 format; a number starting with a single 0 is read as a Swiss number.

Used by