> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# CustomerType

GraphQL object

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/b2b/b2b-graphql/types/objects/customer-type

## Fields

- `id` — The id of the customer.
- `email` — The email of the customer.
- `firstName` — The first name of the customer.
- `lastName` — The last name of the customer.
- `company` — The company of the customer.
- `phone` — The phone number of the customer.
- `notes` — The notes of the customer.
- `taxExemptCategory` — The tax exempt category of the customer.
- `registrationIpAddress` — The IP address from which this customer was registered.
- `customerGroupId` — ID of the group which this customer belongs to.
- `dateModified` — The date on which the customer was modified.
- `dateCreated` — The date on which the customer was created.
- `addressCount` — Total number of customer addresses.
- `attributeCount` — Total number of customer attributes.
- `authentication` — Customer authentication information.
- `addresses` — Array of customer addresses. Limited to 10.
- `attributes` — Array of customer attributes. Limited to 10
- `formFields` — Array of form fields.
- `storeCreditAmounts` — Store credit.
- `acceptsProductReviewAbandonedCartEmails` — Determines if the customer is signed up to receive either product review or abandoned cart emails or receive both emails.
- `originChannelId` — Channel ID of the customer that has created the form.
- `channelIds` — Array of channels the customer can access.

## Definition

```graphql
type CustomerType {
  id: Int
  email: String
  firstName: String
  lastName: String
  company: String
  phone: String
  notes: String
  taxExemptCategory: String
  registrationIpAddress: String
  customerGroupId: Int
  dateModified: String
  dateCreated: String
  addressCount: Int
  attributeCount: Int
  authentication: CustomerAuthenticationType
  addresses: [CustomerAddressesType]
  attributes: [CustomerAttributeType]
  formFields: [FormFieldsType]
  storeCreditAmounts: [CustomerStoreCreditAmountsType]
  acceptsProductReviewAbandonedCartEmails: Boolean
  originChannelId: Int
  channelIds: [Int]
}
```