markBidThreadRead
Requires permission biddesk:bid:read.
Marks a bid thread read for you: its unread count goes to zero and your mentions in it are read. Only the bid's members can use its room. Requires Bid Desk and permission to read bids.
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 MarkBidThreadRead($threadId: ID!) {
markBidThreadRead(threadId: $threadId)
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation MarkBidThreadRead($threadId: ID!) {\n markBidThreadRead(threadId: $threadId)\n}",
"variables": {
"threadId": "id"
}
}
EOF
Variables:
{
"threadId": "id"
}
Response:
{
"data": {
"markBidThreadRead": true
}
}
markBidThreadRead(
threadId: ID!
): Boolean!
Arguments
markBidThreadRead.threadId ● ID! non-null scalar
The thread.
Type
Boolean scalar
The Boolean scalar type represents true or false.