My Business Business Information API 提供管理商家資訊的介面。
注意:如果您在啟用 API 後獲得 0 的配額,請申請 Google 商家檔案 API 存取權。
- REST 資源:v1.accounts.locations
- REST 資源:v1.attributes
- REST 資源:v1.categories
- REST 資源:v1.chains
- REST 資源:v1.googleLocations
- REST 資源:v1.locations
- REST 資源:v1.locations.attributes
服務:mybusinessbusinessinformation.googleapis.com
如要呼叫這項服務,建議您使用 Google 提供的用戶端程式庫。如果應用程式需要使用您自己的程式庫來呼叫這項服務,請在提出 API 要求時使用下列資訊。
探索文件
探索文件是一種機器可解讀的規格,用於說明和使用 REST API。此文件用於建構用戶端程式庫、IDE 外掛程式,以及與 Google API 互動的其他工具。一項服務可能會提供多個探索文件。這項服務提供下列探索文件:
服務端點
服務端點是指定 API 服務網路位址的基準網址。一項服務可能有多個服務端點。這項服務有以下服務端點,且下方的 URI 皆以此服務端點為基準:
- https://mybusinessbusinessinformation.googleapis.com
REST 資源:v1.accounts.locations
| 方法 | |
|---|---|
| create | POST /v1/{parent=accounts/*}/locations建立由登入使用者擁有的新位置。 | 
| list | GET /v1/{parent=accounts/*}/locations列出指定帳戶的地點。 | 
REST 資源:v1.attributes
| 方法 | |
|---|---|
| list | GET /v1/attributes傳回適用於指定主要類別和國家/地區的地點,可用的屬性清單。 | 
REST 資源:v1.categories
| 方法 | |
|---|---|
| batchGet | GET /v1/categories:batchGet針對指定語言和 GConcept ID 傳回業務類別清單。 | 
| list | GET /v1/categories傳回業務類別清單。 | 
REST 資源:v1.chains
| 方法 | |
|---|---|
| get | GET /v1/{name=chains/*}取得指定鏈結。 | 
| search | GET /v1/chains:search根據連鎖店名稱搜尋鏈結。 | 
REST 資源:v1.googleLocations
| 方法 | |
|---|---|
| search | POST /v1/googleLocations:search搜尋與指定要求相符的所有可能位置。 | 
REST 資源:v1.locations
| 方法 | |
|---|---|
| delete | DELETE /v1/{name=locations/*}刪除位置。 | 
| get | GET /v1/{name=locations/*}傳回指定位置。 | 
| getAttributes | GET /v1/{name=locations/*/attributes}查詢特定地點的所有屬性。 | 
| getGoogleUpdated | GET /v1/{name=locations/*}:getGoogleUpdated取得指定位置的 Google 更新版本。 | 
| patch | PATCH /v1/{location.name=locations/*}更新指定位置。 | 
| updateAttributes | PATCH /v1/{attributes.name=locations/*/attributes}更新特定地點的屬性。 | 
REST 資源:v1.locations.attributes
| 方法 | |
|---|---|
| getGoogleUpdated | GET /v1/{name=locations/*/attributes}:getGoogleUpdated取得指定位置的 Google 更新版本。 |