Skip to main content

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

👏👏


Muito bom!


And here is how to

📍SET LABEL TO CARD

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

 


Great @genietim 👏🏼


Reply