创建微信商家券,兑换券,code模式为MERCHANT_API,调用上传预存API提示发券模式不合法:
【请求地址】:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks/1291910000000006/couponcodes
【请求数据】:{"coupon_code_list":["L8JIMC6M43Y142","SUG18SSJAJA343","ZETHKIZ9ZTM789","I1LO4BY0QAY003","VDQ00K7I3N3558","FQAIW2WAX1Z238","Q691W8LFB4Y792","2CJ2UTC3TQK341","LCW1QPHBJNO691","1YLRZRGQ9D5488"],"upload_request_no":"1220147401202107231043260008"}
【异常信息】:发券模式不合法
解决了吗?我也遇到这个问题了。从文档看,MERCHANT_API与MERCHANT_UPLOAD的区别就是在使用场景上面。使用方式我理解的是一样的。都是先创建批次号,再调用UPLOAD接口。