convertBidThreadToKnowledgeNote
Requires permission biddesk:knowledge:write.
Makes a knowledge note draft from a bid thread; review comes later and the outcome returns to the thread. Refused with KNOWLEDGE_PRODUCT_REQUIRED when no item is given and the thread is not on a cost line with an item. Only the bid's members can convert its threads. Requires Bid Desk. Requires permission to write knowledge.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
mutation ConvertBidThreadToKnowledgeNote($input: ConvertBidThreadToKnowledgeNoteInput!) {
convertBidThreadToKnowledgeNote(input: $input) {
id
title
status
createdAt
productId
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation ConvertBidThreadToKnowledgeNote($input: ConvertBidThreadToKnowledgeNoteInput!) {\n convertBidThreadToKnowledgeNote(input: $input) {\n id\n title\n status\n createdAt\n productId\n }\n}",
"variables": {
"input": {
"threadId": "id",
"title": "string"
}
}
}
EOF
Variables:
{
"input": {
"threadId": "id",
"title": "string"
}
}
Response:
{
"data": {
"convertBidThreadToKnowledgeNote": {
"id": "id",
"title": "string",
"status": "string",
"createdAt": "2025-01-15T00:00:00Z",
"productId": "id"
}
}
}
convertBidThreadToKnowledgeNote(
input: ConvertBidThreadToKnowledgeNoteInput!
): BidThreadKnowledgeNote!
Arguments
convertBidThreadToKnowledgeNote.input ● ConvertBidThreadToKnowledgeNoteInput! non-null input
The thread, the title and optionally the item and text.
Type
BidThreadKnowledgeNote object
A knowledge note draft made from a bid thread.