Skip to main content


If i run code below, just the card 999 is updated. How may i update two or more cards.

mutation {
updateCardField(
input: {card_id: 888, field_id: ""user_id_ad"", new_value: ""2""},
input: {card_id: 999, field_id: ""user_id_ad"", new_value: ""2""})
{card {id}}
}

Hey Amanda, how are you? 

 

To run multiple mutations you need to name each mutation like this: 

 

mutation {
m1:updateCardField(
input: {
card_id: 383932000
field_id: "test"
new_value: "this a new value"
}
) {
card {
id
}
}

m2:updateCardField(
input: {
card_id: 383932138
field_id: "teste"
new_value: "another value"
}
) {
card {
id
}
}
}

 

 

Hope it helps you ;)


Reply