收藏
回答

调用【创建代金券批次API】,返回:批次发放规则或核销规则有误,请修改后重试?

https://api.mch.weixin.qq.com/v3/marketing/favor/coupon-stocks

返回:{"code":"INVALID_REQUEST","message":"批次发放规则或核销规则有误,请修改后重试"}

请求参数:

{"available_begin_time":"2020-09-07T09:45:00.000+08:00","available_end_time":"2020-10-01T00:00:00.000+08:00","belong_merchant":"1575832071","coupon_use_rule":{"available_merchants":["1575832071"],"coupon_available_time":{"fix_available_time":{"available_week_day":[1,2,3,4,5,6,0],"begin_time":15422,"end_time":26942},"second_day_available":false},"fixed_normal_coupon":{"coupon_amount":1899,"transaction_minimum":1900}},"no_cash":true,"out_request_no":"15758320711599442961296","stock_name":"19","stock_type":"NORMAL","stock_use_rule":{"max_amount":36081,"max_coupons":19,"max_coupons_per_user":60,"natural_person_limit":true,"prevent_api_abuse":true}}

available_week_day字段只填1天的值就可以,比如[1]

如果传了多天[1,2,3,4,5,6,0]就报错


回答关注问题邀请回答
收藏

1 个回答

  • Y.
    Y.
    09-07

    request-id:1oof4v

    09-07
    有用
    回复
登录 后发表内容
问题标签