```javascript
WXAPI.userLevelDetail(levelId)
```
+ levelId membership level id
```json
{
"code": 0,
"data": {
"extJson": {},
"info": {
"dateAdd": "2021-01-20 14:20:28",
"dateUpdate": "2021-11-23 15:42:57",
"defValidityUnit": 3,
"id": 3117,
"level": 0,
"name": "Gold Member",
"paixu": 0,
"rebate": 1,
"status": 0,
"upgradePayNumber": 0,
"upgradeScore": 0,
"userId": 951
}
},
"msg": "success"
}
```
+ info basic information
- id membership level id
- name Membership level name
- level is the membership level. The larger the number, the higher the level.
- rebate is the default discount for shopping. If the product does not have a separate membership price, it will be discounted according to the discount set here. 10 means 10% off (no discount), 1 means 10% off, and 0 means 0% off (free delivery)
- upgradePayNumber automatically upgrades to this member after paying several orders
- upgradeAmount. The amount of consumption is automatically upgraded to this member.
- upgradeScore: the total accumulated points to upgrade to this member
- upgradeSendCoupons After upgrading to this member, the system will automatically give out coupons. The coupon rule ID is stored here. Multiple IDs are separated by English commas.
- upgradeSendScore The number of points received after upgrade
- maxUser The maximum number of users this category can accommodate
- sendPerMonthCoupons gives out coupons every month. The coupon rule ID is stored here. Multiple IDs are separated by English commas.
- sendPerMonthScore number of points given each month
- fanliPercent shopping rebate ratio
**Automatically upgrade to become the member's default validity period (manual adjustment to membership, purchase of membership are not subject to this default restriction)**
- defValidityDuration duration
- defValidityUnit Duration unit: 0 days 1 month 2 years 3 Valid permanently 4 Valid within a fixed period
- defValidityDayBegin Member valid start time
- defValidityDayEnd member expiration time
+ extJson extended properties