customerExists
Check if a customer account exists for the given email address, among the customers who can sign in to the store. Needs a session, and answers TOO_MANY_REQUESTS after a few lookups of one address within an hour, whichever address the lookups come from.
Arguments
| Argument | Type | Description |
|---|---|---|
email | EmailAddress! |
Returns
| Field | Type | Description |
|---|---|---|
result | Boolean! | Whether a customer with the given email exists |
Example
query { customerExists(email: "john.doe@example.com") { result } }{ "data": { "customerExists": { "result": true } }}The query is the example the schema documents. The response shows its shape with placeholder values.
Served by
| @evolve-framework/commercetools | Resolved |
| @evolve-framework/medusa | Resolved |
| @evolve-framework/sfcc | Resolved |
Used by
The storefront packages that send it, in these GraphQL documents:
- @evolve-storefront/feature-auth:
CustomerExists

