Loading…
⚡
apifm
Frontend PaaS & AI Dev Platform
SDK
Homepage
Open Source
Help center
Cases
Contact
Backend management
Get the list of control instructions supported by the device corresponding to the specified order
Get the list of control instructions supported by the device corresponding to the specified order
SDK
apifm
Development reference
```javascript WXAPI.shopIotCmds({ token: '000', orderId: 12334, topic: 'emqx4001' }) ``` + token current user login credentials + orderId Order ID, daily pricing [hotels, B&Bs], time-of-day pricing [reservation of conference rooms, mahjong parlors, etc.] + topic device number ```json { "code": 0, "data": [ { "cmd": "onoff", "id": 7, "name": "Open the door", "status": 0, "topic": "emqx4001", "userControl": true, "userId": 951 } ], "msg": "success" } ```