# CustomerAccessTokenCreatePayload Payload returned by the customerAccessTokenCreate mutation. This type encapsulates the result of attempting to create a new 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 The `CustomerAccessTokenCreatePayload` type is returned by the `customerAccessTokenCreate` mutation and contains references to two related types. The `customerAccessToken` field holds the newly created access token when the operation succeeds, while the `customerUserErrors` field provides detailed error information when validation or processing fails. Both fields work together to provide complete feedback about the token creation attempt. ## Example ```graphql { customerAccessTokenCreatePayload { customerAccessToken { accessToken expiresAt } customerUserErrors { code field message } } } ``` ## Implements This type does not implement any interfaces. ## Related Types - [CustomerAccessToken](/reference/storefront/1.3.0/objects/customer-access-token) - [CustomerUserError](/reference/storefront/1.3.0/objects/customer-user-error)