Method: accounts.locations.localPosts.create

建立與指定地點相關聯的新在地商家貼文,並傳回該貼文。

HTTP 要求

POST https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*}/localPosts

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
parent

string

要建立這則在地貼文的地點名稱。

要求主體

要求主體包含 LocalPost 的例項。

回應主體

如果成功,回應主體會包含新建立的 LocalPost 執行個體。

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://www.googleapis.com/auth/plus.business.manage
  • https://www.googleapis.com/auth/business.manage

詳情請參閱OAuth 2.0 Overview