Skip to main content
StickyF.A.Q.

API Reference > Label

  • September 27, 2023
  • 4 replies
  • 205 views
API Reference > Label
Lais Laudari

Do you need help with your API queries and/or mutation?

Here are a few that might help you!😉
 


🛠Mutations

📍CREATE LABEL

mutation {
 createLabel(
 input: {
 pipe_id: XXXX
 name: "Important!"
 color: "#FF0000"
 }
 ) {
 label {
 id
 name
 }
 }
}
 

📍UPDATE LABEL

mutation {
 updateLabel(
 input: {
 id: XXXXX
 name: "Very Important!"
 color: "#FF6347"
 }
 ) {
 label {
 id
 name
 }
 }
}

📍DELETE LABEL

mutation {
 deleteLabel(input: { id: XXXX }) {
 success
 }
}

Did this topic help you find an answer to your question?

4 replies

marcosmelo
Forum|alt.badge.img+18
  • Pipefy Legend
  • 1465 replies
  • September 27, 2023

👏👏


Ezequiel Souza
Forum|alt.badge.img+14

Muito bom!


genietim
Forum|alt.badge.img+12
  • Pipefy Legend
  • 412 replies
  • October 4, 2023

And here is how to

📍SET LABEL TO CARD

mutation {
    updateCard(input: {id: XXXX, label_ids: [YYYY, XXYY]}) {
        clientMutationId
    }
}

 


Lais Laudari

Great @genietim 👏🏼


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings