获取订单优惠以及订单上面商品优惠详情接口https://open.youzanyun.com/api/y ... der.promotion/1.0.0
下了个测试单,里面选了100件同一个商品,看接口文档说是 订单优惠均摊到商品上面 但实际使用中发现,优惠金额989.99元未分摊到每件商品上,不知道是不是对接口文档理解的不正确 望解答下。
返回报文:{
"errcode": 0,
"errmsg": "OK",
"data": {
"code": 200,
"data": {
"goods": [
{
"goodsId": 2716178859,
"promotions": [
{
"promotionId": 21350090,
"promotionTypeName": "优惠卡券",
"decrease": 98999,
"promotionTitle": "优惠券测试专用"
}
],
"skuId": 22400990091,
"present": false
}
],
"order": [
{
"promotionTypeName": "优惠卡券",
"promotionId": 21350090,
"promotionTitle": "优惠券测试专用",
"decrease": 98999
}
],
"postageDecrease": null,
"goodsDecrease": 98999,
"editGoodsPrice": 0,
"postFee": [],
"tid": "E20221208103546002000015",
"orderDecrease": 98999
},
"message": "successful",
"success": true
}
}
file:///C:/Users/fujie/Documents/WXWork/1688850759442630/Cache/Image/2022-12/企业微信截图_16708403383858.pngfile:///C:/Users/fujie/Documents/WXWork/1688850759442630/Cache/Image/2022-12/企业微信截图_16708406813224.png
本帖最后由 匿名 于 2022-12-13 09:53 编辑
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|