Loading…

Get a list of purchased items

```javascript WXAPI.myBuyGoodsHisV2({ token: '000', page: 1, pageSize: 10 }) ``` + token user login credentials + page gets the data on which page + pageSize How many pieces of data are obtained per page? If this parameter is not passed, the default is 50 + nameLike product name fuzzy search + dateBuyBegin date of purchase, format 2018-05-16 + dateBuyEnd purchase date, format 2018-05-16 + categoryId gets the products under the specified category. Multiple categories are separated by commas. ```json { "code": 0, "msg": "success", "data": { "result": [ { "id": 1969258, "goodsId": 1567729, "pic": "https://dcdn.it120.cc/2025/02/17/d14a05fa-1b89-46f1-abb7-86665745d70f.png", "goodsName": "esp32_relay_x16-channel relay WIFI smart socket/switch module", "dateBuy": "2025-12-02 00:29:39" } ], "totalRow": 12, "totalPage": 12 } } ``` + dateBuy purchase time + id record id + goodsId commodity id + goodsName product name + pic product pictures