查询小活动商品优惠详情
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
activity_id | String | 必须 | 10113072840186465 | 活动id | |
promotion_level | Number | 必须 | 1 | 优惠级别,1-商品级,3-sku级 | |
item_list | String | 必须 | 683856939153,690008017036,681531656663 | 商品id | |
activity_source | String | 必须 | SINGLE_TREASURE | 活动类型 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
tao_activity_query_item_discount_list_resp_list | TaoActivityQueryItemDiscountListResp [] | 响应结果 | |
|
1 2 3 4 5 6 7 8 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); ActivityItemDiscountsQueryRequest req = new ActivityItemDiscountsQueryRequest(); req.setActivityId( "10113072840186465" ); req.setPromotionLevel(1L); req.setItemList( "683856939153,690008017036,681531656663" ); req.setActivitySource( "SINGLE_TREASURE" ); ActivityItemDiscountsQueryResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | < activity_item_discounts_query_response > < tao_activity_query_item_discount_list_resp_list > < tao_activity_query_item_discount_list_resp > < title >大容量便携水杯</ title > < item_id >12345</ item_id > < available_flag >true</ available_flag > < pic_url >//img.alicdn.com/imgextra/i1/263694008/O1CN01SlnDBb1fThulyQnAF_!!2-item_pic.png</ pic_url > < ic_price >13.55</ ic_price > < all_sku_discount_finished >true</ all_sku_discount_finished > < sku_v_os > < sku_discount_vo > < is_participated_sku >false</ is_participated_sku > < sku_discount_info > < discount >800</ discount > < limit_check >3</ limit_check > < free_post >false</ free_post > < after_price >123.00</ after_price > < discount_display >800</ discount_display > < discount_type >2</ discount_type > < is_discard_fen >true</ is_discard_fen > < is_math_floor >true</ is_math_floor > </ sku_discount_info > < sku_id >4053200027223</ sku_id > < price >43.40</ price > < props >灰色 12345</ props > < available_flag >true</ available_flag > </ sku_discount_vo > </ sku_v_os > < item_discount_info > < max_dis_count >100</ max_dis_count > < min_dis_count >800</ min_dis_count > < all_sku_discount_finished >true</ all_sku_discount_finished > < discount >800</ discount > < limit_check >3</ limit_check > < free_post >false</ free_post > < after_price >123.00</ after_price > < discount_display >800</ discount_display > < discount_type >2</ discount_type > < is_discard_fen >true</ is_discard_fen > < is_math_floor >true</ is_math_floor > </ item_discount_info > </ tao_activity_query_item_discount_list_resp > </ tao_activity_query_item_discount_list_resp_list > </ activity_item_discounts_query_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|