Create a contact
vyfakturuj_create_contactDestructive
WRITE. Adds a contact to the address book (it is not a customer message: nothing is sent). Give at least a name (the address-book label) or company or last name. Returns the new contact with its id. POST /contact/.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| IC | No | ICO (company id). | |
| DIC | No | DIC (VAT id). | |
| tel | No | Phone. | |
| web | No | Web. | |
| zip | No | Postal code (PSC). | |
| city | No | City. | |
| name | No | Address-book name (how it is listed). | |
| note | No | Your note about the contact. | |
| street | No | Street. | |
| company | No | Company name. | |
| mail_to | No | E-mail where invoices and reminders go. | |
| days_due | No | Default days until due for this contact. | |
| lastname | No | Last name. | |
| firstname | No | First name. | |
| country_code | No | ISO 3166 country code, e.g. CZ, SK, DE. |