私が見つけた最も簡単な方法は、のお客様にAPIs Explorer at the bottom of the documentationを使用することでした。ディレクトリAPI(Admin SDK)でメソッドを取得します。フォームのcustomerKeyに「my_customer」と入力し、「Authorize and Execute」ボタンを押します。
応答には、 "id"としてCustomerId(例:Cxxxxxxxx)が含まれます。あなたは得意先を見つけることができます応答の最後に、自分のアカウントでメソッドを呼び出すことができUsers.get
{
"kind": "admin#directory#customer",
"id": string,
"etag": etag,
"customerDomain": string,
"alternateEmail": string,
"postalAddress": {
"organizationName": string,
"countryCode": string,
},
"language": string,
"customerCreationTime": datetime
}
:entire responseは次のようになります。 – Gerardo