New `create_item` mutation arguments

We recently added the relative_to and position_relative_method arguments to the create_item mutation to specify the location of the new item.

  • relative_to: Accepts an item ID to specify which item to create the new one in relation to.
  • position_relative_method: Accepts enum values to specify if the new item should be created above or below the relative_to value.

These arguments are only available in API versions 2024-04 and later.

mutation {
  create_item (board_id: 1234567890, group_id: "group_one", item_name: "new item", position_relative_method: before_at, relative_to: 9876543210, column_values: "{\"date\":\"2023-05-25\"}") {
    id
  }
}