如要進一步瞭解驗證帳戶後可解鎖哪些功能,請參閱「關於完成電子郵件驗證及網域驗證的帳戶」。
如要建立新的已驗證的客戶帳戶,請使用下列 POST 要求。
POST https://cloudchannel.googleapis.com/v1/accounts/customers
Google Workspace 和 Chrome 提供兩種客戶類型:驗證網域和驗證電子郵件。
適用國家/地區代碼限制。確認消費者所在國家/地區是否核准轉售。
建立網域客戶
網域驗證客戶可取得網域的完整管理員存取權。建立已驗證的客戶時,請將 customerType
設為 domain
。
JSON 要求內容應如下所示:
{
"customerType": "domain",
"alternateEmail": "dani@example.com",
"phoneNumber": "(949) 555-1234",
"languageCode": "en-US",
}
成功的回應會傳回 HTTP 200
狀態碼和下列資訊:
"customerType": "domain",
"primaryDomain": "example.com"
"isDomainVerified": true,
"alternateEmail": "dani@example.com",
"phoneNumber": "(949) 555-1234",
"languageCode": "en-US",
"adminConsoleUri": "altostrat.com"
建立電子郵件客戶
已驗證電子郵件的客戶並未擁有或管理自己的網域。建立這類客戶時,請將 customerType
設為 team
。
JSON 要求內容應如下所示:
{
"customerType": "team",
"alternateEmail": "dani@example.com",
"phoneNumber": "(949) 555-1234",
"languageCode": "en-US",
}
成功的回應會傳回 HTTP 200
狀態碼和下列資訊:
"customerType": "team",
"alternateEmail": "dani@example.com",
"phoneNumber": "(949) 555-1234",
"languageCode": "en-US",
"adminConsoleUri": "altostrat.com"