查询用户资源权益1.0
POST
https://api.xiaoe-tech.com/xe.user.asset.check/1.0.0
拥有此API的权限集 |
---|
订购管理-查询订购关系 |
code | msg | data |
---|---|---|
0 | OK | 详见返回结构示例 |
4001 | 店铺不存在 | null |
4002 | 用户不存在 | null |
4003 | asset不存在 | null |
4099 | 网络错误 | null |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.xiaoe-tech.com/xe.user.asset.check/1.0.0' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_token": "xe_xxxxx",
"user_id": "u_xxx",
"asset_type": "goods",
"goods_id": "s_xxx"
}'
响应示例响应示例
{
"code": 0,
"msg": "OK hint:[2652]",
"data": {
"own": "[true|false]"
}
}
请求参数
Body 参数application/json
返回响应
修改于 2022-03-18 10:52:24