- 支付
- 私域
- 公域
- 营销
- 资金
- 会员
- 信用
- 安全
- 其他
修改搜索直达配置
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/v3/alipay/open/search/box/modify
alipay.open.search.box
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v3/alipay/open/search/box/modify' \
--header 'Content-Type: application/json' \
--data-raw '{
"box_desc": "品牌介绍",
"box_id": "20220308000000128693",
"brand_id": "1000467882",
"business_benefit_switch": false,
"custom_keywords": "自定义触发词",
"image_id": "A*oZQmT4xTBPUAAAAAAAAAAAAAAQAAAQ",
"image_name": "搜索直达氛围图1",
"merchant_id": "2088xxxxxxxxxxxx",
"module_id": "20220308000000168465",
"module_type": "BOX_EXCLUSIVE_KEYWORD",
"related_accounts": [
{
"app_name": "string",
"app_type": "string",
"relate_appid": "string"
}
],
"service_infos": [
{
"service_category_code": "string",
"service_category_name": "string",
"service_code": "string",
"service_name": "string"
}
],
"target_appid": "2018092561507369",
"area_keywords": "[\"简称触发词\"]",
"business_district_ids": "[\"商圈id\"]"
}'
响应示例响应示例
200 - 示例 1
{
"module_id": "20220116000000130147"
}
请求参数
Body 参数application/json
box_desc
string
可选
示例值:
品牌介绍
box_id
string
搜索直达配置id
示例值:
20220308000000128693
business_benefit_switch
boolean
可选
示例值:
false
custom_keywords
string
1024
示例值:
自定义触发词
image_name
string
可选
示例值:
搜索直达氛围图1
merchant_id
string
可选
示例值:
2088xxxxxxxxxxxx
module_id
string
可选
示例值:
20220308000000168465
related_accounts
array[object (SearchBoxAppInfo) {3}]
可选
app_name
string
应用名称
app_type
string
可选
relate_appid
string
应用ID
service_infos
array[object (SearchBoxServiceInfo) {4}]
可选
service_category_code
string
服务类目编码
service_category_name
string
服务类目名称
service_code
string
服务编码
service_name
string
服务名称
area_keywords
array[string]
可选
示例值:
["简称触发词"]
business_district_ids
array[string]
可选
示例值:
["商圈id"]
示例
返回响应
🟢200common response
application/json
Body
module_id
string
模块配置ID
示例值:
20220116000000130147
🔴500请求失败