订单点结算时会调用 “下单前置页获取可用券列表扩展点” 接口
该接口请求参数扩展字段 extMap 值:[{"total_promotional_price":1309,"goods_original_price":1309,"root_goods_id":2352740716,"num":1,"goods_id":2352740716,"sku_id":13362508323,"total_original_price":1309}]
这里面的商品信息我们要接到线下去判断哪些商品能用券哪些不能。
这里面的goods_id,sku_id都不能和我们线下商品匹配。
咱们有个查询单商品明细接口,可以获取商品明细
但目前 我传 goods_id,sku_id ,这两个值进去都提示我 “查询参数商品ID或商品别名缺失”
查询商品请求参数:
youzanItemDetailGet Request:{"gateway":"https://open.youzanyun.com","headers":{},"version":"1.0.0","oauthType":"TOKEN","paramModelClass":"com.youzan.cloud.open.sdk.gen.v1_0_0.model.YouzanItemDetailGetParams","httpMethod":"POST","name":"youzan.item.detail.get","apiparams":{"nodeKdtId":43783768,"itemId":0,"alias":"","nodeItemId":2382911253}}
接口返回:getItemDtl invoke api complete. result={"code":301000002,"data":{"category_properties":{"privates":[],"publics":[]},"channels":[],"images":[],"item_props":[],"messages":[],"size_group":{"sizes":[]},"sku_list":[],"sku_value_props":[]},"message":"查询参数商品ID或商品别名缺失","success":false,"trace_id":"yz7-0ae85bde-1684753946929-10472"}
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|