可以先按 item_name = "半份 xxx",item_count = 1 这样来处理吗
美团侧推送商品失败相关问题,美团侧商品数量为空,用其他结构数据表示商品数量,是否需要调整优化?主要问题描述1:美团侧如果优化完之后商品数量,小店侧是否需要做调整 主要问题描述2:set_meals[].items[].item_count 字段如果支持非整数,美团侧可直接传递,或者做其他优化展示处理 运营同学在美团侧推品失败,报错信息如下 originResponse:{"errcode":10020240,"errmsg":"套餐分组内的商品价格set_meals[].items[].item_count不能为0 rid: 67b369bd-32269a08-69b9c317"} 在美团侧,商品数量有可能为空,有可能用其他结构的数据表示,其他结构的数据表示传递数据,不一定是整数 例如 orginAmout:0.5 unit:份。也就是0.5份来表示商品的量,下面是商品的一些例子 [图片] [图片]
02-18"total_price": "41100", 41100 -> “41100” 试试
小店新增门市价推送失败,辛苦看下原因?响应 {"errcode":47001,"errmsg":"data format error, field \"attr_kv_map\" doesn't expect an uint32 value \"41100\" rid: 67ac5f22-354ce46a-610bfc59"} 参数 { "product_type": 2, "skus": [{ "sale_price": 23800 }], "category_id": "545210", "verify_page": { "path": "/pepper/subPackages/pages/channelMiddle/index?edsChannelId\u003d1817333008\u0026productId\u003d1240351666\u0026skuIds\u003d2373115862", "appid": "wxde8ac0a21135c07d" }, "out_product_id": "1240351666", "verify_at_store": 0, "code_source_type": 3, "product_name": "西塔老太太泥炉烤肉|【VOSS\u0026西塔】欢聚时刻2人餐|2店通用", "brand_id": "10024692", "head_imgs": ["https://mmecimage.cn/p/wx6937d3df46b485f4/HEC0Ru1QgcEvGXTIZP1QTYsIHy8oQ5JVALN4c1jOyH-n"], "attr_kv_map": { "refund_policy": "1", "set_meals": "[{\"items\":[{\"item_count\":1,\"item_name\":\"檀香小肋条※蘸烤肉汁\",\"item_price\":7800},{\"item_count\":1,\"item_name\":\"雪花牛大力※蘸烤肉汁\",\"item_price\":7800},{\"item_count\":1,\"item_name\":\"秘制牛五花※蘸烤肉汁\",\"item_price\":4900},{\"item_count\":1,\"item_name\":\"秘制小鲜肉※蘸麻酱\",\"item_price\":5900},{\"item_count\":1,\"item_name\":\"厚切猪五花※蘸干料\",\"item_price\":4800}],\"group_name\":\"❤招牌烤肉\",\"groupingType\":1},{\"items\":[{\"item_count\":1,\"item_name\":\"辣白菜\",\"item_price\":1800}],\"group_name\":\"❤韩式风味\",\"groupingType\":1},{\"option_count\":1,\"items\":[{\"item_count\":1,\"item_name\":\"老式拌饭\",\"item_price\":2800},{\"item_count\":1,\"item_name\":\"辣炒年糕\",\"item_price\":4500}],\"group_name\":\"❤主食类 2 选 1\",\"selectableNum\":1,\"repeatable\":false,\"groupingType\":2},{\"items\":[{\"item_count\":2,\"item_name\":\"VOSS水\",\"item_price\":2000}],\"group_name\":\"❤饮品\",\"groupingType\":1},{\"items\":[{\"item_count\":2,\"item_name\":\"小料(蘸料、生菜、小菜4种)\",\"item_price\":1600}],\"group_name\":\"❤小料\",\"groupingType\":1}]", "use_date_rule": "{\"validate_type\":1,\"use_date\":{\"use_end_date\":\"2025-03-29\",\"use_start_date\":\"2025-02-12\"}}", "settle_type": "1", "additional_rule": "\"0:不可使用包间\\n1:本单发票由商家提供,详情请咨询商家\\n2:仅限堂食\\n3:团购用户不可同时享受商家其他优惠\\n酒水饮料等问题,请致电商家咨询,以商家反馈为准\\n如部分菜品因时令或其他不可抗因素导致无法提供,商家会用等价菜品替换,具体事宜请与商家协商\\n使用优惠券购买团单,有效期以优惠券规则为准\\n4:每桌最多使用1张美团券\\n5:无需预约,消费高峰期可能需要等位\\n\"", "total_price": 41100, "use_time": "{\"time_periods\":[{\"end_at_next_day\":0,\"use_start_time\":\"00:00:00\",\"use_end_time\":\"23:59:59\"}],\"use_time_type\":1}", "exclusive_date": "{\"enable\":0}", "bring_out_type": "2", "appointment": "{\"need_appointment\":0,\"ahead_time_type\":0}", "available_store_desc": "\"2家门店可用\"", "need_phone_num": "1", "detail_imgs": "[\"https://mmecimage.cn/p/wx6937d3df46b485f4/HEC0Ru1QgcEvGXTIZP1QTYsIHy8oQ5JVALN4c1jOyH-n\",\"https://mmecimage.cn/p/wx6937d3df46b485f4/HCsIqOu36rxSKwRbROHiRJR14OP6OBJiVLGn9LZUZiQQ\",\"https://mmecimage.cn/p/wx6937d3df46b485f4/HHV7SLFjMJJ-QfJLub6DVtku2VFE-a_i0CZguYcP2Qs\",\"https://mmecimage.cn/p/wx6937d3df46b485f4/HBjTkkkt5BVFnj4wWYYSg-PfbHrOr9aOT8vDel81Xs4\",\"https://mmecimage.cn/p/wx6937d3df46b485f4/HEC0Ru1QgcEvGXTIZP1QTYsIHy8oQ5JVALN4c1jOyH-n\"]", "limit_buy_rule": "{\"limit_buy_period\":0}" } } 辛苦小店看下,增加原价之后推不过去
02-18https://developers.weixin.qq.com/doc/channels/locallife/common_structure/structure.html#ExclusiveDate 可以详见对于 ExclusiveData 的描述, enable = 1 代表开启时,必须要通过 days_of_week 字段指定周几不可用
美团推送小店商品失败报错信息:不可用时间exclusive_date传值无效,问下小店的验证逻辑?action:dispense.product.create 推店成功的请求参数 {"product_type":2,"skus":[{"sale_price":36000}],"category_id":"545273","verify_page":{"path":"/pepper/subPackages/pages/channelMiddle/index?edsChannelId\u003d1817333008\u0026productId\u003d1195812575\u0026skuIds\u003d2362818568","appid":"wxde8ac0a21135c07d"},"out_product_id":"1195812575","verify_at_store":0,"code_source_type":3,"product_name":"牛小新烧肉·自助放题|【年度钜惠·双人】安格斯谷饲海鲜档烧肉·自助畅吃|13店通用","brand_id":"10024692","head_imgs":["https://mmecimage.cn/p/wx6937d3df46b485f4/HIEBtsfBL5138zYpWPCt8fR-VPw3zKQe6QRmpOBnSgat"],"attr_kv_map":{"refund_policy":"1","set_meals":"[{\"items\":[{\"item_count\":99999,\"item_name\":\"【双人】海鲜档烧肉自助畅吃\",\"item_price\":39800}],\"group_name\":\"烤肉自助套餐\",\"groupingType\":1}]","use_date_rule":"{\"validate_type\":2,\"validate_days\":30}","settle_type":"1","additional_rule":"\"0:最长可用餐120分钟\\n1:本单发票由商家提供,详情请咨询商家\\n2:仅限堂食\\n为了避免过多的浪费,浪费的食材按150g每份,收取30元一份的食材浪费费用\\n下单后,点餐加菜仅限90分钟内,120分钟用餐时间\\n请提前购买好团购票,落座后验券\\n购买用户不可同时享受商家其他优惠\\n部分菜品因时令原因有所不同,请以店内当日实际供应为准\\n使用优惠券购买团单,有效期以优惠券规则为准\\n3:无需预约,消费高峰期可能需要等位\\n\"","use_time":"{\"time_periods\":[{\"end_at_next_day\":0,\"use_start_time\":\"00:00:00\",\"use_end_time\":\"23:59:59\"}],\"use_time_type\":1}","exclusive_date":"{\"enable\":0}","bring_out_type":"2","appointment":"{\"need_appointment\":0,\"ahead_time_type\":0}","available_store_desc":"\"13家门店可用\"","need_phone_num":"1","detail_imgs":"[\"https://mmecimage.cn/p/wx6937d3df46b485f4/HIEBtsfBL5138zYpWPCt8fR-VPw3zKQe6QRmpOBnSgat\",\"https://mmecimage.cn/p/wx6937d3df46b485f4/HIEBtsfBL5138zYpWPCt8fR-VPw3zKQe6QRmpOBnSgat\"]","limit_buy_rule":"{\"limit_buy_period\":0}"}} {"product_type":2,"skus":[{"sale_price":1110}],"category_id":"545214","verify_page":{"path":"/pepper/subPackages/pages/channelMiddle/index?edsChannelId\u003d1817333008\u0026productId\u003d1196420007\u0026skuIds\u003d2363017379","appid":"wxde8ac0a21135c07d"},"out_product_id":"1196420007","verify_at_store":0,"code_source_type":3,"product_name":"1点点|藏青盐咸奶绿(中杯)|2843店通用","brand_id":"10024692","head_imgs":["https://mmecimage.cn/p/wx6937d3df46b485f4/HL_yJWJnzkTCZtJoo6eJK-ylfkcii1wxbj3YUPtjT6Gk"],"attr_kv_map":{"refund_policy":"1","set_meals":"[{\"items\":[{\"item_count\":1,\"item_name\":\"藏青盐咸奶绿(中杯)\",\"item_price\":1300}],\"group_name\":\"藏青盐咸奶绿\",\"groupingType\":1}]","use_date_rule":"{\"validate_type\":2,\"validate_days\":30}","settle_type":"1","additional_rule":"\"0:本单发票由商家提供,详情请咨询商家\\n1:堂食外带均可\\n2:团购用户可以享受店内其他所有优惠\\n使用优惠券购买团单,有效期以优惠券规则为准\\n3:无需预约,消费高峰期可能需要等位\\n\"","use_time":"{\"time_periods\":[{\"end_at_next_day\":0,\"use_start_time\":\"00:00:00\",\"use_end_time\":\"23:59:59\"}],\"use_time_type\":1}","exclusive_date":"{\"enable\":0}","bring_out_type":"1","appointment":"{\"need_appointment\":0,\"ahead_time_type\":0}","available_store_desc":"\"3401家门店可用\"","need_phone_num":"1","detail_imgs":"[\"https://mmecimage.cn/p/wx6937d3df46b485f4/HL_yJWJnzkTCZtJoo6eJK-ylfkcii1wxbj3YUPtjT6Gk\",\"https://mmecimage.cn/p/wx6937d3df46b485f4/HL_yJWJnzkTCZtJoo6eJK-ylfkcii1wxbj3YUPtjT6Gk\"]","limit_buy_rule":"{\"limit_buy_period\":0}"}} 推送失败的请求参数 {"product_type":1,"skus":[{"sale_price":8900}],"category_id":"545210","verify_page":{"path":"/pepper/subPackages/pages/channelMiddle/index?edsChannelId\u003d1817333008\u0026productId\u003d1209572722\u0026skuIds\u003d2366826643","appid":"wxde8ac0a21135c07d"},"out_product_id":"1209572722","verify_at_store":0,"code_source_type":3,"product_name":"西塔老太太泥炉烤肉89元代100元代金券","brand_id":"10024692","head_imgs":["https://mmecimage.cn/p/wx6937d3df46b485f4/HOEn2FsqdcU8I6qKRIm4KIlijqxs7yQOFgyJuBbqGAYy"],"attr_kv_map":{"refund_policy":"1","use_date_rule":"{\"validate_type\":1,\"use_date\":{\"use_end_date\":\"2025-01-09\",\"use_start_date\":\"2024-12-12\"}}","settle_type":"1","additional_rule":"\"0:本单发票由商家提供,详情请咨询商家\\n1:仅限堂食\\n2:100元、200元、500元代金券可以互相叠加,每桌限用3张\\n团购用户不可同时享受商家其他优惠\\n酒水饮料等问题,请致电商家咨询,以商家反馈为准\\n使用优惠券购买团单,有效期以优惠券规则为准\\n3:每人每天最多购买6张美团券\\n最多可叠加使用3张\\n4:无需预约,消费高峰期可能需要等位\\n\"","use_time":"{\"time_periods\":[{\"end_at_next_day\":0,\"use_start_time\":\"00:00:00\",\"use_end_time\":\"23:59:59\"}],\"use_time_type\":1}","exclusive_date":"{\"enable\":1}","bring_out_type":"2","appointment":"{\"need_appointment\":0,\"ahead_time_type\":0}","available_store_desc":"\"56家门店可用\"","need_phone_num":"1","limit_buy_rule":"{\"limit_buy_period\":1,\"limit_buy_num\":6}","voucher_amount":"10000"}} {"product_type":1,"skus":[{"sale_price":16800}],"category_id":"545210","verify_page":{"path":"/pepper/subPackages/pages/channelMiddle/index?edsChannelId\u003d1817333008\u0026productId\u003d1209579430\u0026skuIds\u003d2366808670","appid":"wxde8ac0a21135c07d"},"out_product_id":"1209579430","verify_at_store":0,"code_source_type":3,"product_name":"西塔老太太泥炉烤肉168元代200元代金券","brand_id":"10024692","head_imgs":["https://mmecimage.cn/p/wx6937d3df46b485f4/HOEn2FsqdcU8I6qKRIm4KIlijqxs7yQOFgyJuBbqGAYy"],"attr_kv_map":{"refund_policy":"1","use_date_rule":"{\"validate_type\":1,\"use_date\":{\"use_end_date\":\"2025-01-09\",\"use_start_date\":\"2024-12-13\"}}","settle_type":"1","additional_rule":"\"0:本单发票由商家提供,详情请咨询商家\\n1:仅限堂食\\n2:100元、200元、500元代金券可以互相叠加,每桌限用3张\\n团购用户不可同时享受商家其他优惠\\n酒水饮料等问题,请致电商家咨询,以商家反馈为准\\n使用优惠券购买团单,有效期以优惠券规则为准\\n3:最多可叠加使用3张\\n4:无需预约,消费高峰期可能需要等位\\n\"","use_time":"{\"time_periods\":[{\"end_at_next_day\":0,\"use_start_time\":\"00:00:00\",\"use_end_time\":\"23:59:59\"}],\"use_time_type\":1}","exclusive_date":"{\"enable\":1}","bring_out_type":"2","appointment":"{\"need_appointment\":0,\"ahead_time_type\":0}","available_store_desc":"\"56家门店可用\"","need_phone_num":"1","limit_buy_rule":"{\"limit_buy_period\":0}","voucher_amount":"20000"}} 辛苦问下视频小店的同事,{"errcode":10020141,"errmsg":"不可用时间exclusive_date传值无效 rid: 675c1329-74b88852-1a5fc59c"} 这个错误信息是怎么验证的
2024-12-16