获取优惠券详情2.0
POST
https://api.xiaoe-tech.com/xe.coupon.detail/2.0.0
拥有此API的权限集 |
---|
营销码券管理-查询码券信息 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.xiaoe-tech.com/xe.coupon.detail/2.0.0' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_token": "xe_xxxxx",
"coupon_id": "xx"
}'
响应示例响应示例
{
"code": 0,
"msg": "获取优惠券详情成功",
"data": {
"id": "cou_xxxx",
"app_id": "appxxx",
"activity_id": "ma_cu_xxxx",
"title": "20210809专属优惠卷",
"type": 0,
"spread_type": 3,
"discount_way": 1,
"discount_percent": 0,
"discount_limit_price": 0,
"valid_after": 0,
"valid_day": 20,
"can_use_with_activity": 1,
"copy_from": "",
"is_show": 0,
"valid_at": null,
"invalid_at": null,
"manual_stop_at": null,
"price": 11200,
"receive_rule": 0,
"require_price": 0,
"bind_res_count": 1,
"count": 200,
"has_received": 0,
"has_used": 0,
"can_share": 1,
"is_show_stock": 0,
"promote_goods_set": 0,
"is_delete": 0,
"is_hide": 0,
"created_at": "2021-08-12 18:15:19",
"updated_at": "2021-08-12 18:15:19",
"coupon_type": 1,
"receive_limit_type": 0,
"receive_limit_ids": "",
"instructions": "",
"bind_resources": [],
"unsupport_resource": [],
"resource": [
{
"id": "SPU_xxxx",
"spu_id": "SPU_xxxx",
"goods_id": "SPU_xxxx",
"resource_id": "g_xxx",
"sku_id": "SKU_xxxx",
"title": "寄到海外",
"summary": "",
"org_content": "",
"descrb": "",
"img_url": "http://xxxx.gif",
"img_url_compressed": "http://xxx.gif",
"count": "",
"price": 11100,
"stock": 1231,
"high_price": 11100,
"low_price": 11100,
"line_price": 0,
"is_package": 0,
"created_at": "2021-08-12 16:53:21",
"enough_price": 1,
"resource_type": 21
}
],
"plans": []
}
}
请求参数
Body 参数application/json
返回响应
修改于 2022-03-30 09:47:37