# Update coupon inventory
# Interface call specification
Http request method: POST
https://api.weixin.qq.com/shop/coupon/update_coupon_stock? access_token=xxxxxxxxx
# Request Parameter Sample
{
"coupon_stock": {
"out_coupon_id": "coupon_id_1",
"stock_info": {
"issued_in a": 60,
"receive_in a": 40
}
}
}
# Return Package Example
{
"errcode": 0
}
# Request Parameter Dxplaination
parameter | type | Introductions |
---|---|---|
coupon_stock.out_coupon_id | string | Coupon Merchant Side ID |
coupon_stock.stock_info.issued_A | number | Coupon Surplus |
coupon_stock.stock_info.receive_A | number | Number of coupons issued |