Edit in GitHubLog an issue
B2B feature. Learn more

isCompanyUserEmailAvailable query

The isCompanyUserEmailAvailable query checks whether an email is valid for registering a company user. The query returns a false value if the specified email matches the email of an existing customer or a company administrator.

This query requires a valid customer authentication token.

Syntax

isCompanyUserEmailAvailable ( email String! ) IsCompanyUserEmailAvailableOutput

Reference

The isCompanyUserEmailAvailable reference provides detailed information about the types and fields defined in this query.

Example usage

The following example checks whether the email address roni_cost@example.com can be used to create a company user.

Request:

Copied to your clipboard
query{
isCompanyUserEmailAvailable(email: "roni_cost@example.com"){
is_email_available
}
}

Response:

Copied to your clipboard
{
"data": {
"isCompanyUserEmailAvailable": {
"is_email_available": false
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.