跳转到主要内容
PUT
Update Google Business Profile location

请求规范

  • 方法与路径: PUT /apis/v1/social/accounts/{accountId}/gmb-locations
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/social/accounts/{accountId}/gmb-locations
  • accountId: path; 必填
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

此操作不另收费。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

accountId
string
必填

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$

请求体

application/json
selectedLocationId
string
必填
Minimum string length: 1
googleAccountId
string

Optional but recommended. The Google Business Profile Account resource name ("accounts/123") that owns the new location (from GET gmb-locations).

When provided, the location is resolved directly instead of by enumerating the account, which is required for accounts with many locations.

Named googleAccountId to disambiguate from the path accountId (the AIsa account). The legacy field name accountId is still accepted for backwards compatibility.

Minimum string length: 1

响应

Location updated

message
string
selectedLocation
object