create_contact
Create a new contact in Bexio for companies or persons, specifying type, name, owner, and optional address, phone, and email details.
Instructions
Create contact
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nr | No | If set to null, the number will be assigned automatically. Must be a number, can also be used as integer | |
| fax | No | ||
| url | No | ||
| city | No | ||
| No | |||
| name_1 | Yes | This field is used as the company name if the field `contact_type_id` is set to `1`. Otherwise, the field is used as the last name of the person | |
| name_2 | No | This field is used as the company addition if the field `contact_type_id` is set to `1`. Otherwise, the field is used as the first name of the person | |
| remarks | No | ||
| user_id | Yes | References a [user object](#operation/v3ListUsers) | |
| birthday | No | ||
| owner_id | Yes | ||
| postcode | No | ||
| title_id | No | References a [title object](#operation/v2ListTitles) | |
| country_id | No | References a [country object](#operation/v2ListCountries) | |
| skype_name | No | ||
| language_id | No | References a [language object](#operation/v2ListLanguages) | |
| mail_second | No | ||
| phone_fixed | No | ||
| street_name | No | Is required if `house_number` or `address_addition` are not **NULL** | |
| house_number | No | Requires `street_name` if the value is not **NULL** | |
| phone_mobile | No | ||
| salutation_id | No | References a [salutation object](#operation/v2ListSalutations) | |
| contact_type_id | Yes | Please use the value `1` for companies or `2` for persons | |
| salutation_form | No | ||
| address_addition | No | Requires `street_name` if the value is not **NULL** | |
| contact_group_ids | No | References one ore multiple [contact group objects](#operation/v2ListContactGroups) | |
| contact_branch_ids | No | References one ore multiple [contact sector objects](#operation/v2ListContactSectors) | |
| phone_fixed_second | No |