Skip to main content

inboxUnreadCount

Requires permission sales:quote:read.

Returns how many inbound customer emails in the inbox are still unread, counting only quotes the caller may open. 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:

query InboxUnreadCount {
inboxUnreadCount
}

Response:

{
"data": {
"inboxUnreadCount": 0
}
}
inboxUnreadCount: Int!

Type​

Int scalar​

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.