bexio Contact Relations
bexio_contact_relationsCreate, read, update, delete, list, and search relations between two contacts, such as linking a person to their company.
Instructions
Manage relations between two contacts (e.g. link a person to their company: contact_id = company, contact_sub_id = person). Actions: "list" (optional limit/offset/order_by [id|contact_id|contact_sub_id|updated_at, append "_desc"]), "search" (search_criteria required; useful searchable fields: contact_id, contact_sub_id, updated_at), "get" (relation by id), "create" (payload required: contact_id, contact_sub_id; optional description), "update" (id + payload of fields to change), "delete" (delete the relation by id — destructive, cannot be undone).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Contact relation id (required for get/update/delete) | |
| limit | No | Maximum number of results (default 500, max 2000) | |
| action | Yes | Operation to perform | |
| offset | No | Number of results to skip (pagination) | |
| payload | No | Contact relation fields. Required on create: contact_id, contact_sub_id. | |
| order_by | No | Field to order by; append "_desc" for descending (e.g. "id_desc") | |
| search_criteria | No | Search conditions, combined with logical AND |