Interface

Employees implement the Contacts interface.

Available queries

Associated queryReturns multiple results
Employee
Employees✔️

Available fields

LabelTypeNotesNull
activeintegerIndicates if the employee is active
addressPostal AddressThe employee's address✔️
changedDateThe date of the employee's last modification
createdDateThe date of the employee's creation
emailstringThe employee's email✔️
employee_idstringThe employee's id string, not the machine id
first_namestringThe employee's first name
idintegerThe employee's id integer, not the employee's id string
labelstringThe employee's label, automatically generated by combining the first and last name
last_namestringThe employee's last name
notesstringNotes about the employee✔️
phonestringThe employee's phone number✔️
positionstringThe employee's position✔️
userUserThe user who created the employee
work_forContactThe contact this employee works for✔️

Example of a query

query{
  Employees{
    edges{
      node{
        active
        address{
          country
        }
        changed
        created
        email
        employee_id
        first_name
        id
        label
        last_name
        notes
        phone
        position
        user{
          id
        }
        work_for{
          id
          ... on customerType {
            customer_id
          }
          ... on supplierType {
            label
          }
        }
      }
    }
  }
}