Update Biomarker Category

Use updateBiomarkerCategory to update an existing biomarker category by Id.

Argument
Type
Description

id

ID!

Id of Biomarker Category.

name

String

Name of Biomarker Category.

parent

ID

Parent Category Id.

order

Int

Sets view order. Default = 0.

Available Fields

Field Name
Type
Description

success

Boolean!

True if the biomarker category has been updated successfully. Otherwise, False.

message

String!

Description of the result.

biomarkerCategory

BiomarkerCategory

Biomarker category object .

Example

mutation updateBiomarkerCategory {
  updateBiomarkerCategory(input: {
    id: "QmlvbWFya2VyQ2F0ZWdvcnk6MTE1",
    name: "Category Test update",
    order: 1
  }) 
  {
    success
    message
    errors { field messages }
    biomarkerCategory {name order id createdAt updatedAt}
  }
}

Last updated