CustomerAccount
The customer side of a partner: credit, tax exemption and buying details.
type CustomerAccount {
availableCredit: Float!
averageOrderValue: Float!
buyingProcess: String
communicationPreference: String!
companySize: String
createdAt: DateTime!
creditLimit: Float!
creditRating: String
currentBalance: Float!
customerCode: String!
customerType: String
decisionMaker: String
deletedAt: DateTime
deletedBy: String
enteredBy: String!
id: ID!
lastOrderDate: DateTime
lastPaymentDate: DateTime
loyaltyPoints: Int!
loyaltyTier: String
marketingOptIn: Boolean!
organizationId: String!
overdueDays: Int!
partnerId: String!
preferredCurrency: String!
preferredShippingMethod: String
seasonality: String
specialInstructions: String
taxExempt: Boolean
taxExemptCertificateNumber: String
taxExemptReason: String
taxExemptValidFrom: DateTime
taxExemptValidTo: DateTime
totalOrderValue: Float!
totalOrders: Int!
updatedAt: DateTime!
updatedBy: String!
}
Fields
CustomerAccount.availableCredit ● Float! non-null scalar
The credit still available.
CustomerAccount.averageOrderValue ● Float! non-null scalar
The average order value. Deprecated: read lifetimeFacts instead.
CustomerAccount.buyingProcess ● String scalar
How the customer buys.
CustomerAccount.communicationPreference ● String! non-null scalar
How the customer prefers to be contacted.
CustomerAccount.companySize ● String scalar
The size of the customer's company.
CustomerAccount.createdAt ● DateTime! non-null scalar
When the record was created.
CustomerAccount.creditLimit ● Float! non-null scalar
The credit limit. 0 or less means unlimited.
CustomerAccount.creditRating ● String scalar
The customer's credit rating.
CustomerAccount.currentBalance ● Float! non-null scalar
The customer's current balance.
CustomerAccount.customerCode ● String! non-null scalar
The customer code.
CustomerAccount.customerType ● String scalar
The customer's business type.
CustomerAccount.decisionMaker ● String scalar
Who makes the buying decision.
CustomerAccount.deletedAt ● DateTime scalar
When the record was deleted. Empty while the record is live.
CustomerAccount.deletedBy ● String scalar
The ID of the user who deleted the record.
CustomerAccount.enteredBy ● String! non-null scalar
The ID of the user who created the record.
CustomerAccount.id ● ID! non-null scalar
The unique ID of this record.
CustomerAccount.lastOrderDate ● DateTime scalar
The date of the last order. Deprecated: read lifetimeFacts instead.
CustomerAccount.lastPaymentDate ● DateTime scalar
The date of the last payment. Deprecated: read lifetimeFacts instead.
CustomerAccount.loyaltyPoints ● Int! non-null scalar
The customer's loyalty points.
CustomerAccount.loyaltyTier ● String scalar
The customer's loyalty tier.
CustomerAccount.marketingOptIn ● Boolean! non-null scalar
True when the customer agreed to marketing messages.
CustomerAccount.organizationId ● String! non-null scalar
The ID of the organization the record belongs to.
CustomerAccount.overdueDays ● Int! non-null scalar
How many days the customer is overdue.
CustomerAccount.partnerId ● String! non-null scalar
The ID of the partner.
CustomerAccount.preferredCurrency ● String! non-null scalar
The currency of the customer's documents.
CustomerAccount.preferredShippingMethod ● String scalar
The customer's preferred shipping method.
CustomerAccount.seasonality ● String scalar
When the customer's buying peaks.
CustomerAccount.specialInstructions ● String scalar
Special instructions for handling the customer.
CustomerAccount.taxExempt ● Boolean scalar
True when the customer is exempt from tax.
CustomerAccount.taxExemptCertificateNumber ● String scalar
The number of the exemption certificate.
CustomerAccount.taxExemptReason ● String scalar
Why the customer is exempt from tax.
CustomerAccount.taxExemptValidFrom ● DateTime scalar
The first day the exemption is valid.
CustomerAccount.taxExemptValidTo ● DateTime scalar
The last day the exemption is valid.
CustomerAccount.totalOrderValue ● Float! non-null scalar
The total value of the customer's orders. Deprecated: read lifetimeFacts instead.
CustomerAccount.totalOrders ● Int! non-null scalar
How many orders the customer placed. Deprecated: read lifetimeFacts instead.
CustomerAccount.updatedAt ● DateTime! non-null scalar
When the record was last changed.
CustomerAccount.updatedBy ● String! non-null scalar
The ID of the user who last changed the record.