> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/checkout/llms.txt)
> Source: https://docs.saleor.io/api-reference/checkout/mutations/checkout-customer-detach

# checkoutCustomerDetach Mutation

Removes the user assigned as the owner of the checkout.

Requires one of the following permissions: AUTHENTICATED\_APP AUTHENTICATED\_USER

Triggers the following webhook events:

-   CHECKOUT\_UPDATED (async): A checkout was updated.

```graphql
checkoutCustomerDetach(
  checkoutId: ID
  id: ID
  token: UUID
): CheckoutCustomerDetach
```

Details

```graphql
type CheckoutCustomerDetach {
  checkout: Checkout
  checkoutErrors: [CheckoutError!]! @deprecated
  errors: [CheckoutError!]!
}
```

<a id="arguments"></a>

### Arguments

<a id="id"></a>

#### [`id`](#id) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

The checkout's ID.

Show deprecatedHide deprecated

<a id="checkout-id"></a>

#### [`checkoutId`](#checkout-id) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

DEPRECATED

Use `id` instead.

The ID of the checkout.

<a id="token"></a>

#### [`token`](#token) ● [`UUID`](/api-reference/miscellaneous/scalars/uuid.md)

DEPRECATED

Use `id` instead.

Checkout token.

<a id="type"></a>

### Type

<a id="checkoutcustomerdetach"></a>

#### [`CheckoutCustomerDetach`](/api-reference/checkout/objects/checkout-customer-detach.md)

Removes the user assigned as the owner of the checkout.

Requires one of the following permissions: AUTHENTICATED\_APP AUTHENTICATED\_USER

Triggers the following webhook events:

-   CHECKOUT\_UPDATED (async): A checkout was updated.
