Loading…

Get coupon sharing key

```javascript WXAPI.couponsShareOpen(token, id) ``` + token user login credentials + id The coupon id that needs to be shared ```json { "code": 0, "data": "4f570c81-160c-4417-852c-de421bcd37d9", "msg": "success" } ``` The returned `data` field is the shared key of the coupon You can tell your friends the coupon ID and share the key, and then you can give the coupon to your friends. + You can send it to friends and groups by sharing and forwarding, along with the coupon ID and sharing key information + You can write the coupon ID and sharing key information into the QR code, and let your friends scan the code to receive it.