I have a question field selection option and 100 option values (my clients).
How can send an update via API to change the values in the pipe so new cards have new options?
I have a question field selection option and 100 option values (my clients).
How can send an update via API to change the values in the pipe so new cards have new options?
Is your question how you can set the options in an options field via GraphQL API?
An example query/mutation could look like this:
mutation {
updatePhaseField(input: {
id: the_field_id,
label: "The field Label",
...
options:
"Option 1", "Option 2", ...
]
}) {
clientMutationId
}
}
Note that there are a few placeholders you will have to replace for your specific case.
See also the documentation for this mutation.
yep!
I have an exiting pip, where do i declare its id?
Where you can declare the id of the pipe in this `updatePhaseField` mutation? The following post answers exactly that, better than I could:
https://community.pipefy.com/api-76/update-phasefield-using-graphql-api-how-do-i-specify-a-phase-989
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.