CustomerAccessTokenCreateInput
Input for creating a customer access token during the login process. This input type is used to authenticate a customer by providing their email address and password.
Input Definition
input CustomerAccessTokenCreateInput {
email: String!
password: String!
}Fields
| Field | Type | Required | Description |
|---|---|---|---|
| String | Yes | The customer’s email address | |
| password | String | Yes | The customer’s password |
Example
mutation {
customerAccessTokenCreate(input: {
email: "customer@example.com"
password: "securePassword123"
}) {
customerAccessToken {
accessToken
expiresAt
}
customerUserErrors {
field
message
}
}
}Related Types
CustomerAccessTokenCustomerUserError