Skip to main content

markInboundEmailsAsRead

Requires permission sales:quote:read.

Marks every unread customer reply on one quote as read. It only affects quotes the caller may open, and it returns whether anything changed. Requires permission to read quotes.

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:

mutation MarkInboundEmailsAsRead($quoteId: ID!) {
markInboundEmailsAsRead(quoteId: $quoteId)
}

Variables:

{
"quoteId": "id"
}

Response:

{
"data": {
"markInboundEmailsAsRead": true
}
}
markInboundEmailsAsRead(
quoteId: ID!
): Boolean!

Arguments​

markInboundEmailsAsRead.quoteId ● ID! non-null scalar​

The ID of the quote.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.