I’m trying to update a location via GraphQL - can’t get it to work in the playground - can anyone help me see what I’m missing?
Here is what the documentation says to do:
mutation {
change_multiple_column_values(item_id:11111, board_id:22222, column_values: “{"location3" : {"lat":"29.9772962","lng":"31.1324955","address":"Giza Pyramid Complex"}}”) {
id
}
}
I’m good until after column_values: that is a load of nonsense I don’t know what to keep and what to change. the slashes are just kind of everywhere and I can’t make sense of it. Here is what I’ve been trying to get to work to pass in a string:
mutation {
change_multiple_column_values(item_id:1653243041,board_id:1636890828, column_values: “{“location_1” : “42.564779 -87.97627779999999 13905 75th St, Bristol, WI 53104, USA”}") {
id
}
and to pass in JSON:
mutation {
change_multiple_column_values(item_id: 1653243041, board_id: 1636890828, column_values: “{“location_1” : {“lat”:“42.564779”,“lng”:“87.97627779999999”,“address”:“13905 75th St, Bristol, WI 53104, USA”}}”) {
id
}
}
All of it gives me a parse error or a 500 error. Thanks!