Zum Inhalt springen

customer

Retrieve a single customer by its UID.

Type: Customer!

Arguments

  • id: UID! — UID of the customer to retrieve.
query($id: UID!) {
customer(id: $id) {
addresses {
addressAsText
areaCode
attentionTo
cellPhone
childItemLinkType
city
co
company
countryCode
department
email
email2
email3
fax
id
isDefaultBillAddress
isDefaultMailingAddress
jobFunction
phone
phoneDirect
poBox
province
skypeName
state
street
streetNr
types
url
}
bills {
hasACLFiltered
hasMoreData
nextPageOffset
totalCount
}
childItemLinkType
currency {
code
name
}
currentLink {
createdAt
createdBy
fileTagID
level
linkToObjectID
linkType
linkedObjectID
objectID
orderNr
}
discountAgreement
fixedDiscountPercent
id
name
number
object {
accountingItemsAsText
aclInherit
categoriesAsString
code
createdAt
customNumber
hasChildren
hasReports
id
importID
isFavorite
isMember
isSubscribed
journalEntriesAsText
lastChangedAt
longName
membersAsText
name
numbering
objectGuid
objectName
objectTypeID
orderNr
orderType
parentObjectID
remarks
resourceBusyByTerms
shortName
specialType
suffix
suffixManual
thumbnail
validFrom
validTo
}
related {
accountingItemsAsText
aclInherit
categoriesAsString
code
createdAt
customNumber
hasChildren
hasReports
id
importID
isFavorite
isMember
isSubscribed
journalEntriesAsText
lastChangedAt
longName
membersAsText
name
numbering
objectGuid
objectName
objectTypeID
orderNr
orderType
parentObjectID
remarks
resourceBusyByTerms
shortName
specialType
suffix
suffixManual
thumbnail
validFrom
validTo
}
saldo {
__typename
}
termsOfPayment {
daysOfGraceReference
discountPercent
id
isActive
isDefault
name
orderNr
}
}
}