Interface

Customers implement the Contacts interface.

Available queries

Associated queryReturns multiple results
Customer
Customers✔️

Available fields

LabelTypeNotesNull
account_managerAccount ManagerThe account manager linked to the customer✔️
activeintegerIndicates if the customer is active
addressesCustomer AddressesThe customer's address✔️
changedDateThe date of the customer's last modification
createdDateThe date of the customer's creation
currencyCurrencyThe currency used for the customer✔️
customer_idstringThe customer's id
discountdecimal(10,2)The discount applied to the customer✔️
emailsstring listThe customer emails✔️
employeesEmployeesThe employees of the customer✔️
facebookstringThe facebook page of the customer✔️
idintegerThe customer's id
instagramstringThe customer's instagram✔️
labelstringThe customer's label, automatically generated by combining the first and last name
locationLocationThe customer's location✔️
notesstringSome notes about the customer✔️
pdf_languagestringThe language used for pdf for the customer✔️
price_levelPrice LevelThe price levels used for the customer. The price levels always have their type as "selling"✔️
phonestringThe customer's phone✔️
tagsCustomer tagsThe customer's tags✔️
taxesTaxesThe taxes applied to the customer✔️
tax_numberstringThe customer's tax number✔️
tax_typeObjectThe type of taxes applied to the customer✔️
termsstringIndicate when the payments are done ("net" means "Net terms", "eom" means "End of month terms")✔️
terms_and_conditionsstringThe terms and conditions✔️
terms_of_paymentintegerThe how much time the customer is given to pay in days✔️
twitterstringThe twitter page of the customer✔️
userUserThe user who created the customer
websitestringThe customer's website✔️

Example of a query

query{
  Customers{
    edges{
      node{
        account_manager{
          id
        }
        active
        addresses{
          edges{
            node{
              id
            }
          }
        }
        changed
        created
        currency{
          iso
        }
        customer_id
        discount
        employees{
          edges{
            node{
              id
            }
          }
        }
        facebook
        id
        instagram
        label
        location{
          id
        }
        notes
        pdf_language
        price_level{
          id
        }
        phone
        tags{
          edges{
            node{
              label
            }
          }
        }
        taxes{
          edges{
            node{
              id
            }
          }
        }
        tax_number
        tax_type
        terms
        terms_and_conditions
        terms_of_payment
        twitter
        user{
          id
        }
        website
      }
    }
  }
}