Skip to main content

Arguments

The device preference details to be updated.

Returns

SmartFlexDeviceInterface

Some general information about a device.

Allowed Viewers

Customer Partner User Third party

Rate Limits

Key Steps
user ['300/h']

Query Complexity

6

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation SetDevicePreferences($input: SmartFlexDevicePreferencesInput!) { setDevicePreferences(input: $input) { alerts { ...SmartFlexDeviceAlertInterfaceFragment } deviceType id integrationDeviceId name onboardingWizard { ...SmartFlexOnboardingWizardFragment } preferences { ...SmartFlexDevicePreferencesInterfaceFragment } preferenceSetting { ...FlexDevicePreferenceSettingInterfaceFragment } propertyId provider reAuthenticationState { ...DeviceReAuthenticationInterfaceFragment } status { ...SmartFlexDeviceStatusInterfaceFragment } } }

Variables

Response

{ "data": { "setDevicePreferences": { "alerts": SmartFlexDeviceAlertInterface, "deviceType": "BATTERIES", "id": "33177808", "integrationDeviceId": "22781668", "name": "develop-do-last-seek-wind", "onboardingWizard": SmartFlexOnboardingWizard, "preferences": SmartFlexDevicePreferencesInterface, "preferenceSetting": FlexDevicePreferenceSettingInterface, "propertyId": "41640051", "provider": "BMW", "reAuthenticationState": DeviceReAuthenticationInterface, "status": SmartFlexDeviceStatusInterface } } }