主体列表查询
POST
/basicOpen/stockSubject/list查询当前授权公司下的备货主体完整列表,支持平台、团队两类主体,可按主体类型、名称和启用状态筛选。本接口不分页。
接口信息
| API Path | 请求协议 | 请求方式 | 令牌桶容量 |
|---|---|---|---|
/basicOpen/stockSubject/list | HTTPS | POST | 1 |
请求参数
subjectTypestringkeywordstring请求cURL示例
curl --location 'https://openapi.lingxing.com/basicOpen/stockSubject/list?access_token=value×tamp=value&sign=value&app_key=value' \
--header 'Content-Type: application/json' \
--data '{
"subjectType": "PLATFORM",
"keyword": "跨境"
}'
返回结果
Json Array
codeinteger必填messagestring必填error_detailsarray<any>必填request_idstring必填response_timestring必填dataarray<object>必填隐藏子属性
companyIdstring必填subjectTypestring必填subjectIdstring必填subjectNamestring必填remarkstring必填statusinteger必填gmtCreatestring必填gmtModifiedstring必填totalinteger必填返回成功示例
{
"code": 0,
"message": "success",
"error_details": [],
"request_id": "a0d54debf93140f3b58d1ed81e8e3583",
"response_time": "2026-10-12 12:00:00",
"data": [
{
"companyId": "100001",
"subjectType": "PLATFORM",
"subjectId": "2031234567890123456",
"subjectName": "跨境平台主体",
"remark": "平台备货业务",
"status": 1,
"gmtCreate": "2026-10-09 09:00:00",
"gmtModified": "2026-10-09 10:00:00"
}
],
"total": 0
}