Loading…

Optional accessories for the product

```javascript WXAPI.goodsAddition(goodsId) ``` + goodsId is the product ID; ```json { "code": 0, "data": [ { "id": 24, "items": [ { "id": 41, "name": "Connect yourself", "pid": 24, "price": 0 }, { "id": 42, "name": "System docking", "pid": 24, "price": 200 } ], "name": "Docking Service", "required": true, "type": 0 } ], "msg": "success" } ``` + name group name + required Is it required? If it is a required group accessory, if not selected, the order cannot be placed. + type 0 is single selection; 1 is multiple selection + id group ID + items group member information - id member ID - name member name - price is the amount of additional fees that need to be added if this member is selected ["For detailed introduction, please move here"](https://www.yuque.com/apifm/doc/eoee8a)