update_weight_goal: Update Weight Goal

Description Usage Arguments

View source: R/body_weight.R

Description

update_weight_goal() creates or updates user's fat or weight goal

Usage

1
update_weight_goal(token, goal_weight = NULL, start_weight, start_date)

Arguments

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.


teramonagi/fitbitr documentation built on Jan. 21, 2021, 8:35 p.m.