This interface obtains the membership price data set by the product:

If the membership price is not set, data will not be returned (even if you set a membership level discount)
```javascript
WXAPI.goodsRebate(token, goodsId)
```
+ Token user login credentials, visitors can pass an empty string
+ goodsId commodity id
Member price is not set:
```json
{
"code": 0,
"data": {
"rebates": [],
"myRebate": 10,
"levelMap": {}
},
"msg": "success"
}
```
Member price set:
```json
{
"code": 0,
"data": {
"rebates": [
{
"goodsId": 235853,
"id": 21738,
"levelId": 1815,
"price": 0,
"propertyChildIds": "869:1698,871:1589,",
"propertyChildNames": "Flower color: pink leaves, color: yellow,",
"rebate": 10,
"type": 0,
"userId": 951
}
],
"myRebate": 10,
"levelMap": {
"1815": {
"dateAdd": "2020-03-27 10:47:42",
"dateUpdate": "2021-01-19 22:21:19",
"defValidityUnit": 3,
"id": 1815,
"level": 0,
"name": "Test Member",
"paixu": 0,
"rebate": 10,
"status": 0,
"upgradePayNumber": 0,
"upgradeScore": 0,
"userId": 951
}
}
},
"msg": "success"
}
```
+ Member price list set by rebates
- Product sku information corresponding to propertyChildIds
-Product SKU name corresponding to propertyChildNames
- Type 0 is discount; 1 is fixed price;
- rebate discount (10 means 10% off, which means no discount; 1 means 10% off; 0 means 0% off, which means the product is free)
- price fixed price amount
+ levelMap membership level ID, corresponding membership level information
- name Membership level name
- rebate The default discount for this level (10 means 10% off, which means no discount; 1 means 10% off; 0 means 0% off, which means the product is free)
+ myRebate The discounts I can enjoy (10 means 10% off, which means no discount; 1 means 10% off; 0 means 0% off, which means the product is free)