# CustomerAccessTokenCreatePayload Payload returned by the customerAccessTokenCreate mutation. This type encapsulates the result of attempting to create a customer access token, including either the successfully created token or any errors that occurred during the operation. ## Type Definition ```graphql type CustomerAccessTokenCreatePayload { customerAccessToken: CustomerAccessToken customerUserErrors: [CustomerUserError]! } ``` ## Fields | Field | Type | Description | |-------|------|-------------| | customerAccessToken | CustomerAccessToken | The created customer access token | | customerUserErrors | [CustomerUserError]! | List of errors that occurred during the operation | ## Relationships CustomerAccessTokenCreatePayload is returned by the `customerAccessTokenCreate` mutation. It contains a reference to a CustomerAccessToken object when the token creation succeeds, and includes CustomerUserError objects that describe any validation or processing errors that occur during the operation. ## Example ```graphql { customerAccessTokenCreatePayload { customerAccessToken { accessToken expiresAt } customerUserErrors { field message } } } ``` ## Implements This type does not implement any interfaces. ## Related Types - [CustomerAccessToken](/reference/storefront/v1/objects/customer-access-token) - [CustomerUserError](/reference/storefront/v1/objects/customer-user-error)