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

CheckoutCustomerAssociatePayload

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

## Type Signature

`CheckoutCustomerAssociatePayload`

## Fields

* `checkout`

  [Checkout](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout.md)

  The updated checkout object.

* `checkoutUserErrors`

  [[CheckoutUserError!]!](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-user-error.md)

  The list of errors that occurred from executing the mutation.

* `customer`

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

  The associated customer object.

## Schema Definition

```graphql
type CheckoutCustomerAssociatePayload { 
	checkout: Checkout
	checkoutUserErrors: [CheckoutUserError!]!
	customer: CheckoutCustomer 
}
```

## Field from

* [Mutation](https://developer.shopline.com/docs/storefront-api/checkouts/mutations/checkout-customer-associate.md).checkoutCustomerAssociate

  关联用户到结账中

* [Mutation](https://developer.shopline.com/docs/storefront-api/checkouts/mutations/checkout-customer-disassociate.md).checkoutCustomerDisassociate

  移除结账关联的当前用户

## 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).

