Loading…

Check if it is available for purchase

Before placing an order, you need to call this interface to determine whether the current product (multiple products detected at the same time) is allowed to be placed: ```javascript WXAPI.jdvopGoodsCheckCanBuy({ token: '000', address: '4-1308, xx Community, Qingbo Street, Xihu District, Hangzhou City, Zhejiang Province', skuIds: '123,456' }) ``` + token user login credentials + address must be an address at 4 levels including identity, city, district and county, and community + skuIds Jingdong product number, multiple products separated by English commas Return example: ```json { "code": 0, "msg": "success", "data": [ { "canPurchase": true, "message": "", "skuId": 209951 } ] } ``` + canPurchase Whether it can be purchased, true means it can be purchased, false means it cannot be purchased + message is valuable when it cannot be purchased, and the reason why it cannot be purchased is explained.