---
title: "CheckoutCustomer"
description: "Customer"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-customer'
  md: 'https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-customer.md'
---
# CheckoutCustomer

Customer

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`CheckoutCustomer`

## Fields

* `acceptsMarketing`

  [Boolean](https://developer.shopline.com/docs/storefront-api/common/scalars/boolean.md)

  Indicates whether the customer has consented to be sent marketing material via email.

* `createdAt`

  [Date](https://developer.shopline.com/docs/storefront-api/common/scalars/date.md)

  The date and time when the customer was created.

* `displayName`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The customer’s name, email or phone number.

* `email`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The customer’s email address.

* `firstName`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The customer’s first name.

* `id`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  A unique identifier for the customer.

* `lastName`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The customer’s last name.

* `phone`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The customer’s phone number.

* `tags`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  A comma separated list of tags that have been added to the customer. Additional access scope required: unauthenticated_read_customer_tags.

* `updatedAt`

  [Date](https://developer.shopline.com/docs/storefront-api/common/scalars/date.md)

  The date and time when the customer information was updated.

## Schema Definition

```graphql
type CheckoutCustomer { 
	acceptsMarketing: Boolean
	createdAt: Date
	displayName: String
	email: String
	firstName: String
	id: String
	lastName: String
	phone: String
	tags: String
	updatedAt: Date 
}
```

## Field from

* [CheckoutCustomerAssociatePayload](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-customer-associate-payload.md).customer

  The associated customer object.

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

