Loading…
⚡
apifm
Frontend PaaS & AI Dev Platform
SDK
Homepage
Open Source
Help center
Cases
Contact
Backend management
Get the list of IoT devices corresponding to the specified order
Get the list of IoT devices corresponding to the specified order
SDK
apifm
Development reference
```javascript WXAPI.shopIotDevices({ token: '000', orderId: 12334 }) ``` + token current user login credentials + orderId Order ID, daily pricing [hotels, B&Bs], time-of-day pricing [reservation of conference rooms, mahjong parlors, etc.] ```json { "code": 0, "data": [ { "name": "relay", "topic": "emqx4001", "topicStr": "socket" }, { "name": "Turn on the lights", "topic": "bfy3006", "topicStr": "switch" } ], "msg": "success" } ```