# CustomerInput

Input · GraphQL API

Input fields for creating or updating a customer. On update, omitted fields will not be updated. Passing a null value will assign null to that field.

## Fields

- `company` (`String`) — omissible: Company or business name associated with the customer.
- `customFields` (`[CustomFieldInput!]`): Collection of custom field/value pairs. You must [set up each custom field in the Control Panel](https://articles.braintreepayments.com/control-panel/custom-fields#creating-a-custom-field) prior to passing it with a request.
- `email` (`String`) — omissible: Email address for the customer.
- `firstName` (`String`) — omissible: Customer's first name.
- `lastName` (`String`) — omissible: Customer's last name.
- `phoneNumber` (`String`) — omissible: The customer's phone number.
- `fax` (`String`) — omissible: The customer's fax.
- `website` (`URL`) — omissible: The customer's website.
- `taxIdentifiers` (`[CustomerTaxIdentifierInput!]`): A set of country code ID pairs, analogous to Social Security numbers in the United States. A customer may have multiple tax identifiers, but only one per tax jurisdiction. The values provided for an update will be stored and previous entries will be updated. **Note:** You will only need to use these fields for processing in certain countries.

## Used by

- [CreateCustomerInput](/braintree/graphql/reference/types/create-customer-input) — Input; customer
- [UpdateCustomerInput](/braintree/graphql/reference/types/update-customer-input) — Input; customer

## GraphQL definition

```graphql
input CustomerInput {
  company: String
  customFields: [CustomFieldInput!]
  email: String
  firstName: String
  lastName: String
  phoneNumber: String
  fax: String
  website: URL
  taxIdentifiers: [CustomerTaxIdentifierInput!]
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)