Account Management API
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
更新日志
v1.1
转移营业地点
现在,您可以使用 Account Management API 来转移营业地点。请求正文必须包含 destinationAccount
(以前称为 toAccount
)。了解详情。
v1
API 权限
Account Management API 将需要从 GCP Console 启用。OAuth 范围保持不变。
端点网址
可以通过 https://mybusinessaccountmanagement.googleapis.com/v1/accounts/{accountId}
(而不是 https://mybusiness.googleapis.com/v4/accounts/{accountId}
)使用 Account Management API
ListInvitations 过滤
以前,可以使用 target_type
网址参数过滤邀请。在 Account Management API 中,此参数已替换为 filter
参数。客户端将可以使用 ?filter=target_type=ACCOUNT_ONLY
等值进行过滤。
主要所有者
“PrimaryOwner”已移至 accounts.create 方法中的 POST 正文。以前,它属于查询参数。
GenerateAccountNumber
功能已弃用。
ListRecommendGoogleLocations
功能已弃用。
现在所有更新都需要字段掩码
如果网址中没有 updateMask 参数,您将无法再进行更新/补丁程序调用。
更新了账号角色和管理员角色的名称
账号/管理员角色名称已进行如下更改:
之前的名称 |
更新后的名称 |
OWNER |
PRIMARY_OWNER |
CO_OWNER |
OWNER |
COMMUNITY_MANAGER |
SITE_MANAGER |
OrganizationInfo.postal_address 已重命名为 OrganizationInfo.address
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[[["易于理解","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"]],["最后更新时间 (UTC):2025-08-29。"],[],["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"]]