Skip to content

customerExists

Queryin Customer

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

ArgumentTypeDescription
emailEmailAddress!

Returns

CustomerExistsResult!

FieldTypeDescription
resultBoolean!Whether a customer with the given email exists

Example

query {
customerExists(email: "john.doe@example.com") {
result
}
}

The query is the example the schema documents. The response shows its shape with placeholder values.

Served by

@evolve-framework/commercetoolsResolved
@evolve-framework/medusaResolved
@evolve-framework/sfccResolved

Used by

The storefront packages that send it, in these GraphQL documents: