错误代码:INVALID_REQUEST 错误原因:商家券信息不满足活动规则,请核实券有效期或code
微信商家卷微信接口请求:{"activity_base_info":{"activity_name":"5月折扣活动","available_periods":{"available_time":[{"end_time":"2021-05-30T00:00:00.000+08:00","begin_time":"2021-05-12T17:55:23.000+08:00"}],"available_day_time":[{"begin_day_time":"010000","end_day_time":"220427"}]},"background_color":"","merchant_logo_url":"https://wxpaylogo.qpic.cn/wxpaylogo/PiajxSqBRaEIPAeia7Imvtst6KHIOAhP9qAd5QHLamHymicia0HW6STVcw/0","end_time":"2021-05-31T00:00:00.000+08:00","begin_time":"2021-05-12T17:04:19.000+08:00","delivery_purpose":"OFF_LINE_PAY","activity_second_title":"测试222333","out_request_no":"157894533120210512522510000"},"award_send_rule":{"merchant_option":"MANUAL_INPUT_MERCHANT","merchant_id_list":["1578945331"],"transaction_amount_minimum":1,"send_content":"SINGLE_COUPON","award_type":"BUSIFAVOR","award_list":[{"original_image_url":"https://wxpaylogo.qpic.cn/wxpaylogo/PiajxSqBRaEIPAeia7ImvtsvDhHwt81Sv2N3MA0ibGCjYQcXdV8SLlHNA/0","thumbnail_url":"https://wxpaylogo.qpic.cn/wxpaylogo/PiajxSqBRaEIPAeia7ImvtshibxTicGoRONIE3rTRysNOnwSD5CsmOOwMA/0","stock_id":"1277620000000015"}]}},返回:{"code":"INVALID_REQUEST","message":"商家券信息不满足活动规则,请核实券有效期或code"}
微信商家卷微信接口请求:{"stock_type":"NORMAL","goods_name":"9","coupon_use_rule":{"use_method":"PAYMENT_CODE","coupon_available_time":{"wait_days_after_receive":2,"available_day_after_receive":1,"available_end_time":"2021-05-24T17:40:23.000+08:00","available_begin_time":"2021-05-13T17:40:21.000+08:00","available_week":{"available_day_time":[{"begin_time":0,"end_time":14400},{"begin_time":18000,"end_time":50400}],"week_day":[0,1,2,3,4,5,6]}},"fixed_normal_coupon":{"discount_amount":10,"transaction_minimum":1}},"stock_name":"折扣","coupon_code_mode":"WECHATPAY_MODE","display_pattern_info":{"background_color":"","merchant_logo_url":"https://wxpaylogo.qpic.cn/wxpaylogo/PiajxSqBRaEIPAeia7ImvtsiaI4s0HB3gwEscsmricAGiaCOM64wTeibPJpw/0","coupon_image_url":"https://wxpaylogo.qpic.cn/wxpaylogo/PiajxSqBRaEIPAeia7ImvtsiaI4s0HB3gwEnhyzQuNH7hicWvBSxMIJOWw/0","description":"测试","merchant_name":"测试"},"comment":"1","stock_send_rule":{"shareable":true,"prevent_api_abuse":false,"max_coupons_by_day":10,"natural_person_limit":false,"transferable":false,"max_coupons_per_user":10,"max_coupons":10},"belong_merchant":"1578945331","out_request_no":"157894533120210512855280016","notify_config":{"notify_appid":""}},返回:{"create_time":"2021-05-12T18:04:18+08:00","stock_id":"1277620000000016"}