Sticky F.A.Q.

API Reference > Label

  • 27 September 2023
  • 4 replies
  • 102 views
API Reference > Label
Userlevel 7

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
 }
}


4 replies

Userlevel 7
Badge +18

👏👏

Userlevel 7
Badge +13

Muito bom!

Userlevel 7
Badge +12

And here is how to

📍SET LABEL TO CARD

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

 

Userlevel 7

Great @genietim 👏🏼

Reply