update_weight_goal()
creates or updates user's fat or weight goal
1 | update_weight_goal(token, goal_weight = NULL, start_weight, start_date)
|
token |
An OAuth 2.0 token generated by oauth_token() |
goal_weight |
(required/optional) Target weight in the unit systems that corresponds to the Accept-Language header provided in the format requested. Required if user does not have an existing weight goal. |
start_weight |
(required) Starting weight in the unit systems that corresponds to the Accept-Language header provided in the format requested. |
start_date |
Weight goal start date; in the format yyyy-MM-dd. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.