Loading…

Get daily pricing and inventory for items

Suitable for business scenarios such as hotel reservations, online ticket purchase, tickets, etc. The same product, on different dates, has different inventory and selling prices. ![](https://dcdn.it120.cc/yuque/0/2021/png/572726/1640772221491-90bab508-ef4e-4c0b-b204-4b58c00fdfde.png) ```javascript WXAPI.goodsPriceDaily(goodsId, priceId) ``` + goodsId commodity id + priceId The id of a sku record corresponding to the product. If the product does not have a sku, there is no need to pass this parameter. ```json { "code": 0, "data": [ { "day": "2021-12-29", "goodsId": 1010061, "id": 38382, "price": 888, "stores": 888888, "userId": 73 } ], "msg": "success" } ``` + day date + price selling price + stores current inventory number In the above example, the product is only in stock on December 29th, and the price is 888