[NOVO] Curso Pipefy AI
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}}}
Best answer by Marcos Carvalho
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 ;)
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.
We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.