For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update Starting Weight

Use the updateStartWeight mutation to update the user starting weight entry.

Required Arguments

Argument

Type

Note

value

Float!

New weight entry to update the starting weight, measured in kilograms (kg).

Available Fields

Field

Type

Note

success

Boolean

true: If the entry has been updated successfully. Otherwise, it displays false

message

String

The message returns either if the information has been updated or not.

Example

mutation {
  updateStartWeight(value: 78.0) {
    success
    message
  }
}
{
  "data": {
    "updateStartWeight": {
      "success": true,
      "message": "Start weight updated successfully"
    }
  }
}

Last updated

Was this helpful?