# Customer Messages

## GraphQL partial SDLs

This is a graphql reference page. In the llms.txt variant, those components link to the shared partial SDL key list instead of trying to resolve inline GraphQL reference content.

Fetch all available partial SDL keys first:

```text
GET https://docs.commercetools.com/apis/rest/content/by-id?id=ctp:gql-sphere:returnTypesList
```

Then fetch the one or more relevant partial SDL with a key from that list by calling the same endpoint with a schema ID:

```text
GET https://docs.commercetools.com/apis/rest/content/by-id?id=ctp:gql-sphere:schema:<key>
```

The response body is a JSON object keyed by the requested content ID. For example, the key-list request returns a `ctp:gql-sphere:returnTypesList` field and a schema request returns a `ctp:gql-sphere:schema:<key>` field.

**GraphQL output types for Messages that represent a change or an action performed on a Customer, Customer Token, or Customer Group.**

Each type on this page implements [MessagePayload](/api/graphql/messages.md#messagepayload) and is returned in the `payload` field of a [Message](/api/graphql/messages.md#message). For when each Message is generated, see [Customer Messages](/api/projects/messages/customer-messages.md).

## Customer Messages

### CustomerCreated

[fetch SDL for type CustomerCreated](#graphql-partial-sdls).

### CustomerDeleted

[fetch SDL for type CustomerDeleted](#graphql-partial-sdls).

### CustomerAddressChanged

[fetch SDL for type CustomerAddressChanged](#graphql-partial-sdls).

### CustomerEmailChanged

[fetch SDL for type CustomerEmailChanged](#graphql-partial-sdls).

### CustomerEmailVerified

[fetch SDL for type CustomerEmailVerified](#graphql-partial-sdls).

### CustomerFirstNameSet

[fetch SDL for type CustomerFirstNameSet](#graphql-partial-sdls).

### CustomerLastNameSet

[fetch SDL for type CustomerLastNameSet](#graphql-partial-sdls).

### CustomerTitleSet

[fetch SDL for type CustomerTitleSet](#graphql-partial-sdls).

### CustomerCompanyNameSet

[fetch SDL for type CustomerCompanyNameSet](#graphql-partial-sdls).

### CustomerDateOfBirthSet

[fetch SDL for type CustomerDateOfBirthSet](#graphql-partial-sdls).

### CustomerExternalIdSet

[fetch SDL for type CustomerExternalIdSet](#graphql-partial-sdls).

### CustomerGroupSet

[fetch SDL for type CustomerGroupSet](#graphql-partial-sdls).

### CustomerAddressRemoved

[fetch SDL for type CustomerAddressRemoved](#graphql-partial-sdls).

### CustomerAddressAdded

[fetch SDL for type CustomerAddressAdded](#graphql-partial-sdls).

### CustomerBillingAddressAdded

[fetch SDL for type CustomerBillingAddressAdded](#graphql-partial-sdls).

### CustomerBillingAddressRemoved

[fetch SDL for type CustomerBillingAddressRemoved](#graphql-partial-sdls).

### CustomerShippingAddressAdded

[fetch SDL for type CustomerShippingAddressAdded](#graphql-partial-sdls).

### CustomerShippingAddressRemoved

[fetch SDL for type CustomerShippingAddressRemoved](#graphql-partial-sdls).

### CustomerDefaultShippingAddressSet

[fetch SDL for type CustomerDefaultShippingAddressSet](#graphql-partial-sdls).

### CustomerDefaultBillingAddressSet

[fetch SDL for type CustomerDefaultBillingAddressSet](#graphql-partial-sdls).

### CustomerStoresSet

[fetch SDL for type CustomerStoresSet](#graphql-partial-sdls).

### CustomerPasswordUpdated

[fetch SDL for type CustomerPasswordUpdated](#graphql-partial-sdls).

### CustomerCustomFieldAdded

[fetch SDL for type CustomerCustomFieldAdded](#graphql-partial-sdls).

### CustomerCustomFieldChanged

[fetch SDL for type CustomerCustomFieldChanged](#graphql-partial-sdls).

### CustomerCustomFieldRemoved

[fetch SDL for type CustomerCustomFieldRemoved](#graphql-partial-sdls).

### CustomerCustomTypeSet

[fetch SDL for type CustomerCustomTypeSet](#graphql-partial-sdls).

### CustomerCustomTypeRemoved

[fetch SDL for type CustomerCustomTypeRemoved](#graphql-partial-sdls).

### CustomerAddressCustomFieldAdded

[fetch SDL for type CustomerAddressCustomFieldAdded](#graphql-partial-sdls).

### CustomerAddressCustomFieldChanged

[fetch SDL for type CustomerAddressCustomFieldChanged](#graphql-partial-sdls).

### CustomerAddressCustomFieldRemoved

[fetch SDL for type CustomerAddressCustomFieldRemoved](#graphql-partial-sdls).

### CustomerAddressCustomTypeSet

[fetch SDL for type CustomerAddressCustomTypeSet](#graphql-partial-sdls).

### CustomerAddressCustomTypeRemoved

[fetch SDL for type CustomerAddressCustomTypeRemoved](#graphql-partial-sdls).

## Customer Token Messages

### CustomerEmailTokenCreated

[fetch SDL for type CustomerEmailTokenCreated](#graphql-partial-sdls).

### CustomerPasswordTokenCreated

[fetch SDL for type CustomerPasswordTokenCreated](#graphql-partial-sdls).

## Customer Group assignment Messages

These Messages are generated by Customer updates, not Customer Group updates.

### CustomerGroupAssignmentAdded

[fetch SDL for type CustomerGroupAssignmentAdded](#graphql-partial-sdls).

### CustomerGroupAssignmentRemoved

[fetch SDL for type CustomerGroupAssignmentRemoved](#graphql-partial-sdls).

### CustomerGroupAssignmentsSet

[fetch SDL for type CustomerGroupAssignmentsSet](#graphql-partial-sdls).

## Customer Group Messages

### CustomerGroupCustomFieldAdded

[fetch SDL for type CustomerGroupCustomFieldAdded](#graphql-partial-sdls).

### CustomerGroupCustomFieldChanged

[fetch SDL for type CustomerGroupCustomFieldChanged](#graphql-partial-sdls).

### CustomerGroupCustomFieldRemoved

[fetch SDL for type CustomerGroupCustomFieldRemoved](#graphql-partial-sdls).

### CustomerGroupCustomTypeSet

[fetch SDL for type CustomerGroupCustomTypeSet](#graphql-partial-sdls).

### CustomerGroupCustomTypeRemoved

[fetch SDL for type CustomerGroupCustomTypeRemoved](#graphql-partial-sdls).

## Related pages

- [Area overview page with navigation](/api.md)
- [Previous page: REST](/api/projects/messages/customer-messages.md)
- [Search documentation and API specs](/search.md)