小程序
小游戏
企业微信
微信支付
扫描小程序码分享
请求这个接口,一直提示批次库存的当前值错误,请获取批次详情查看最新值;不知道什么原因,求解
https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_11.shtml
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
调用https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_2.shtml 查询下实际批次库存与你所传批次库存是否一致
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
{
"target_max_coupons": 100,
"current_max_coupons": 100,
"modify_budget_request_no": "1002600620019090123143254436"
}
我创建的时候,这两个值传的100,我修改的时候,传这两个值无论传大传小.都提示这个;我查询出来也是这2个值
"entrance_words": "欢迎选购",
"guiding_words": "获取更多优惠",
"mini_programs_appid": "",
"mini_programs_path": "/pages/index/index"
},
"display_pattern_info": {
"background_color": "Color020",
"coupon_image_url": "",
"description": "价值14.99元代金券,满足门槛即可使用",
"merchant_logo_url": "https://wxpaylogo.qpic.cn/wxpaylogo/PiajxSqBRaEIPAeia7ImvtskcwPn73VVibtVSymGUdfV77uY2icniaTbYzA/0",
"merchant_name": "111"
"goods_name": "部分商品可用",
"notify_config": {
"notify_appid": ""
"send_count_information": {
"total_send_amount": 0,
"total_send_num": 0
"stock_id": "1235260000000013",
"stock_name": "center",
"stock_send_rule": {
"max_amount": 149900,
"max_coupons": 100,
"max_coupons_per_user": 100
"stock_state": "RUNNING",
"stock_type": "NORMAL"
修改请求参数
{"target_max_coupons":150000,"current_max_coupons":150000,"modify_budget_request_no":"215159cf9c9c46f4b670630bc7821812"}
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
调用https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_2.shtml 查询下实际批次库存与你所传批次库存是否一致
{
"target_max_coupons": 100,
"current_max_coupons": 100,
"modify_budget_request_no": "1002600620019090123143254436"
}
我创建的时候,这两个值传的100,我修改的时候,传这两个值无论传大传小.都提示这个;我查询出来也是这2个值
"entrance_words": "欢迎选购",
"guiding_words": "获取更多优惠",
"mini_programs_appid": "",
"mini_programs_path": "/pages/index/index"
}
},
"display_pattern_info": {
"background_color": "Color020",
"coupon_image_url": "",
"description": "价值14.99元代金券,满足门槛即可使用",
"merchant_logo_url": "https://wxpaylogo.qpic.cn/wxpaylogo/PiajxSqBRaEIPAeia7ImvtskcwPn73VVibtVSymGUdfV77uY2icniaTbYzA/0",
"merchant_name": "111"
},
"goods_name": "部分商品可用",
"notify_config": {
"notify_appid": ""
},
"send_count_information": {
"total_send_amount": 0,
"total_send_num": 0
},
"stock_id": "1235260000000013",
"stock_name": "center",
"stock_send_rule": {
"max_amount": 149900,
"max_coupons": 100,
"max_coupons_per_user": 100
},
"stock_state": "RUNNING",
"stock_type": "NORMAL"
}
修改请求参数
{"target_max_coupons":150000,"current_max_coupons":150000,"modify_budget_request_no":"215159cf9c9c46f4b670630bc7821812"}