Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Account Management API
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
變更記錄
v1.1
邀請地點 ID
現在可以從待處理的邀請中擷取地點的 Place ID。placeId 欄位位於「邀請」資源的「目標位置」TargetLocation下方。
轉移位置
您現在可以使用帳戶管理 API 轉移地點。要求主體必須包含 destinationAccount (先前稱為 toAccount)。瞭解詳情。
v1
API 存取
您必須從 GCP 控制台啟用帳戶管理 API。OAuth 範圍維持不變。
端點網址
您可以在 https://mybusinessaccountmanagement.googleapis.com/v1/accounts/{accountId} 存取帳戶管理 API,而非 https://mybusiness.googleapis.com/v4/accounts/{accountId}
ListInvitations 篩選
先前,您可以使用 target_type 網址參數篩選邀請。在 Account Management API 中,這項參數已由 filter 參數取代。用戶端可以透過 ?filter=target_type=ACCOUNT_ONLY 等值進行篩選。
主要擁有者
`PrimaryOwner' 已移至 accounts.create 方法的 POST 內文。先前這是查詢參數。
「GenerateAccountNumber」功能已淘汰。
「ListRecommendGoogleLocations」功能已淘汰。
現在所有更新都必須提供欄位遮罩
如果網址中沒有 updateMask 參數,您就無法再進行更新/修補呼叫。
更新帳戶角色和管理員角色名稱
帳戶/管理員角色名稱已變更如下:
| 舊名稱 |
更新後的名稱 |
| 擁有者 |
PRIMARY_OWNER |
| CO_OWNER |
擁有者 |
| COMMUNITY_MANAGER |
SITE_MANAGER |
OrganizationInfo.postal_address 已重新命名為 OrganizationInfo.address
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-05-13 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-05-13 (世界標準時間)。"],[],["The Account Management API now allows location transfers via the `destinationAccount` field. API access is enabled through the GCP Console, with a new endpoint URL. Invitation filtering now uses a `filter` parameter. `PrimaryOwner` moved to the POST body of `accounts.create`. `GenerateAccountNumber` and `ListRecommendGoogleLocations` are deprecated. All updates require a field mask. Account role names have been revised (e.g., OWNER to PRIMARY_OWNER), and `OrganizationInfo.postal_address` is now `OrganizationInfo.address`.\n"]]