Appearance
获取买赠订单信息
| 拥有此API的权限集 |
|---|
| 订单管理-查询 |
请求方式及url
- 请求方式:
POST - 请求头:
Content-Type:application/json - 接口地址:
https://api.xiaoe-tech.com/xe.order.gift.info/1.0.0 - 频率限制:
10秒3000次
接口调试
请求参数
响应结果
暂无响应数据
请求参数说明
| 参数名 | 必选 | 类型 | 说明 | 备注(示例) |
|---|---|---|---|---|
| access_token | 是 | string | 专属token | |
| order_id | 是 | string | 买赠订单id | |
请求示例
{
"access_token" : "xxxxxxxx",
"order_id" : "o_1657694966_62ce6af63fa0a_10718084"
}响应参数说明
| 参数名 | 类型 | 说明 | 备注 |
|---|---|---|---|
| app_id | string | 店铺id | appxxx |
| order_id | string | 订单id | |
| gift_id | int | 买赠id | |
| gift_count | int | 邀请码数量 | |
| gift_valid | int | 已赠送数量 | |
| gift_user_id | array | 受赠用户id列表 | |
| buy_user_id | string | 购买用户id | |
| resource_id | string | 赠送课程id | |
| resource_name | string | 赠送课程名称 | |
| price | int | 赠送课程付款金额,单位:分 | |
| img_url | string | 赠送课程封面图链接 | |
| created_at | string | 创建时间,也即下单时间 | |
响应示例
{
"code": 0,
"msg": "success",
"data": {
"app_id": "appAKxxxxxxxx",
"buy_user_id": "u_611cbfc8a735e_vR55Fw8pSG",
"created_at": "2022-07-13 14:49:26",
"gift_count": 2,
"gift_id": 3830225,
"gift_user_id": [
"u_6131d3b5c17c3_erENjZBn7G"
],
"gift_valid": 0,
"img_url": "https://xxxxx.png",
"order_id": "o_1657694966_62ce6af63fa0a_10718084",
"price": 0,
"resource_id": "term_62c7a5eeee243_BOMcmp",
"resource_name": "付费营期"
}
}