SetThingUserData
Sets the user data of a thing. User data is a thing value reserved for the "user" to store values with. Syntax:
SetThingUserData(thing, flex_value);
Related:
GetThingUserData()
Thing Userdata