Customer
Type: Object
A customer record, this can either be a natural person or a legal entity.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| addresses | [Address!]! | filter: AddressFilterInputlimit: Intoffset: Intsort: [AddressSortInput] | ||
| businessName | String | The name of the business | ||
| contactEmail | String | A contact email address for the customer | ||
| contactName | String | The name of the contact person for the customer | ||
| contacts | [Contact!]! | filter: ContactFilterInputlimit: Intoffset: Intsort: [ContactSortInput] | ||
| createdAt | DateTime! | |||
| creditLimit | Money | The credit limit for the customer, if applicable | ||
| customerType | CustomerTypeEnum | Is this customer a business or an individual? | ||
| externalId | String | An external ID for the job | ||
| id | ID! | |||
| notes | [Note!]! | filter: NoteFilterInputlimit: Intoffset: Intsort: [NoteSortInput] | The notes for the customer | |
| orders | [Order!]! | filter: OrderFilterInputlimit: Intoffset: Intsort: [OrderSortInput] | ||
| paymentTerms | Int | The payment terms in days for the customer, 0 or unset means payment before confirmation | ||
| phone | String | A contact phone number for the customer | ||
| status | CustomerStatusEnum | The status of the customer | ||
| taxId | String | The tax ID of the customer | ||
| totalOrders | Int! | The total number of orders placed by the customer | ||
| totalSpent | Money | The total amount spent by the customer | ||
| updatedAt | DateTime! |