- 支付
- 私域
- 公域
- 营销
- 资金
- 会员
- 信用
- 安全
- 其他
查询人群列表
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/v3/alipay/merchant/qipan/crowd/batchquery
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v3/alipay/merchant/qipan/crowd/batchquery' \
--header 'authorization: ALIPAY-SHA256withRSA app_id=$appid,timestamp=$now,nonce=$uuid,expired_seconds=600,sign=$sign' \
--header 'alipay-request-id: $requestid' \
--header 'Content-Type: application/json' \
--data-raw '{
"crowd_name":"测试人群",
"page_number":"1",
"page_size":"20"
}'
响应示例响应示例
{
"total_number":"200",
"crowd_list":[
{
"crowd_code":"cr_asdasdajksd",
"crowd_name":"测试人群包",
"crowd_desc":"描述",
"external_crowd_code":"test1",
"status":"EFFECTIVE",
"processable":false,
"hidden":"0",
"apply_channel_list":[
"PAYMENT_RESULT",
"XLIGHT"
],
"crowd_size":"364.7万~364.8万"
}
]
}
请求参数
Header 参数
authorization
string
必需
示例值:
ALIPAY-SHA256withRSA app_id=$appid,timestamp=$now,nonce=$uuid,expired_seconds=600,sign=$sign
alipay-request-id
string
必需
示例值:
$requestid
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
crowd_name
string
人群名称
page_number
string
可选
page_size
string
可选
示例
返回响应
🟢200成功
application/json
Body
total_number
string
必需
crowd_list
array [object {9}]
商家自定义人群列表
crowd_code
string
可选
crowd_name
string
可选
crowd_desc
string
可选
external_crowd_code
string
可选
status
string
可选
processable
boolean
可选
hidden
string
可选
apply_channel_list
array[string]
可选
crowd_size
string
可选