I am trying to update a column value within my Monday.com table using the below code but I am getting the following error:
Variable $myvariable is used by but not declared
$query = 'mutation {
change_simple_column_value (board_id: [BOARD_ID], item_id: [ITEM_ID], column_id: "sold___deposit_paid", value: $myvariable) { id }
}';
It works if I put a value in place of the variable though. Why is this happening?