- JSON 表示法
- ProcessingStatus
- BookingStatus
- WaitlistStatus
- PlaceInfo
- LocalServicesMatchInfo
- MatchedProvider
- DirectUrl
- UrlType
「透過 Google 預訂」平台中的商家狀態。
| JSON 表示法 | 
|---|
| { "name": string, "merchantName": string, "inputGeoInfo": { object ( | 
| 欄位 | |
|---|---|
| name | 
 商家狀態資源名稱,格式為  | 
| merchant | 
 合作夥伴提供的商家名稱。 | 
| input | 
 合作夥伴提供商家的地理資訊。 | 
| processing | 
 商家處理狀態。 | 
| booking | 
 與端對端預訂整合相關的狀態。 | 
| waitlist | 
 與等候名單整合相關的狀態。 | 
| geo | 
 這個商家的比對地理位置。如果商家與地理區域不相符,則為空白。 | 
| local | 
 在地生活服務 - 與這個商家相符。如果不是在地生活服務商家,或未與任何供應商比對,則為空白。 | 
| direct | 
 網址清單,用於展示目前商家廣告空間的內容。請注意,這不代表系統確實放送廣告空間,且網址可能與公開顯示的網址不同。 | 
ProcessingStatus
商家處理狀態。
| 列舉 | |
|---|---|
| PROCESSING_STATUS_UNSPECIFIED | 未指定狀態。 | 
| IN_PROGRESS | 雖然已交給小麥,但該商家仍在處理中。處於此狀態的商家不會填入其他狀態。 | 
| COMPLETED | 商家的其他狀態已計算完成。 | 
BookingStatus
與端對端預訂整合相關的狀態。
| JSON 表示法 | 
|---|
| { "hasValidFutureInventory": boolean } | 
| 欄位 | |
|---|---|
| has | 
 如果商家在未來 30 天內有商品目錄,則為「是」。並不保證商家實際送達。 | 
WaitlistStatus
與等候名單整合相關的狀態。
| JSON 表示法 | 
|---|
| { "hasValidWaitlistService": boolean } | 
| 欄位 | |
|---|---|
| has | 
 如果商家提供等候名單服務,則為「是」。不保證商家實際放送。 | 
PlaceInfo
相符地點的資訊。
| JSON 表示法 | 
|---|
| { "name": string, "formattedAddress": string, "placeId": string } | 
| 欄位 | |
|---|---|
| name | 
 地點名稱。 | 
| formatted | 
 以當地語言編寫的格式化地址。 | 
| place | 
 這個地點的 Google 地點 ID。可用於建構 Google 地圖網址,或擷取地點的其他詳細資料。如需用法範例,請參閱 https://developers.google.com/places/web-service/place-id。 | 
LocalServicesMatchInfo
Google 在地生活服務資訊相符 (僅適用於在地生活服務商家)。
| JSON 表示法 | 
|---|
| {
  "matchedProviders": [
    {
      object ( | 
| 欄位 | |
|---|---|
| matched | 
 已比對的服務供應商。商家可以與多個服務供應商配對。 | 
MatchedProvider
在地生活服務供應商。
| JSON 表示法 | 
|---|
| { "customerId": string, "categories": [ string ] } | 
| 欄位 | |
|---|---|
| customer | 
 Google 在地生活服務外部客戶 ID。 | 
| categories[] | 
 在地生活服務類別 (產業)。例如「水電工」和「地毯清潔」。 | 
DirectUrl
顯示商家的網址。
| JSON 表示法 | 
|---|
| {
  "type": enum ( | 
| 欄位 | |
|---|---|
| type | 
 這個網址的類型。 | 
| url | 
 可能會顯示此商家的網址。 | 
UrlType
顯示網址的類型。
| 列舉 | |
|---|---|
| URL_TYPE_UNSPECIFIED | 不指定。 | 
| BOOKING | 端對端預訂網址。 | 
| WAITLIST | 端對端等候名單網址。 | 
| LOCAL_SERVICES | Google 在地生活服務網址。 |