Update user supplement plan
Use updateSupplementPlan
to update user supplement plan.
Required Arguments
Argument | Type | Description |
---|---|---|
| String! | Supplement plan name. |
| Boolean! | True sets the supplement plan active for the user, otherwise False. |
| Boolean! | True makes the supplement plan visible for the user, otherwise False. |
| ID! | Id of Coach. |
| Date! | Sets the starting date for the supplement plan. YYYY-MM-DD |
| String | Open text field. |
| String | Open text field. |
| String | Open text field. |
| String | Open text field. |
| [Supplements] | Supplement or list of supplements. |
| ID! | Id of supplement. |
| Int! | Length duration of supplement. |
| SupplementDirection! | Direction of use for supplement. |
| Float! | Supplement quantity. |
| TimeOfDay! | enum TimeOfDay { AT_BEDTIME AT_WAKING WITH_BREAKFAST WITH_DINNER WITH_LUNCH }. |
| Boolean! | Can be any day of the week ex. |
| [SupplementPlanProtocol] | Protocol or list of protocols. |
| ID! | Id of Protocol. |
| Boolean! | True sets the protocol active for the user, otherwise False. |
| SupplementDirection! | Direction of use for protocol. |
| Float! | Protocol quantity. |
| TimeOfDay | enum TimeOfDay { AT_BEDTIME AT_WAKING WITH_BREAKFAST WITH_DINNER WITH_LUNCH }. |
| Boolean! | Can be any day of the week ex. |
Example
Last updated