Create a new relation
create_relationCreate a new business or private relation in Informer. Provide required company or personal details, and optionally set relation number, invoice template, and payment conditions.
Instructions
Create a new relation.
Create a new relation. The relation_number is optional; if omitted or 0, a new number is generated. The fields sales_invoice_template_id and payment_condition_id are optional; default values will be used if not provided.
When relation_type is 0 (company): company_name is required, firstname/surname are forbidden. When relation_type is 1 (private): firstname and surname are required, company_name is forbidden.
[Relations] POST /relations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| administration | No | The client administration to act on. Only one is configured: default. |