Update User Goal
Use the updateUserTracker
mutation to update the user custom tracker goal.
Required Arguments
Argument
Type
Note
id
ID!
User tracker goal ID.
goal
Float
Sets new goal for selected tracker ex. 20000
steps.
source
SourceType
Source of input, default is set to SUGGESTIC. enum SourceType { APPLE FITBIT GARMIN GOOGLEFIT_NATIVE GOOGLEFIT_REST HEALTHCONNECT HUAWEIHEALTH IHEALTH MISFIT OMRONCONNECT OMRONWELLNESS OURA POLAR SAMSUNG STRAVA SUGGESTIC SUUNTO WITHINGS }
Available Fields
Field
Type
Note
success
Boolean
true: If the tracker goal has been updated successfully. Otherwise, it displays false
message
String
The message returns either if the goal has been updated or not.
tracker
UserTracker
Example
Last updated
Was this helpful?