Skip to main content

setBidQuietHours

Requires permission biddesk:bid:read.

Sets your quiet hours and digest hour in your time zone. The digest hour must be outside the quiet hours. Refused with VERSION_CONFLICT when the version you read is stale. 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:

mutation SetBidQuietHours($input: SetBidQuietHoursInput!) {
setBidQuietHours(input: $input) {
digestHour
mutedBidCount
quietEnd
quietStart
timeZone
version
preferences {
kind
mailMode
push
}
}
}

Variables:

{
"input": {
"digestHour": 0
}
}

Response:

{
"data": {
"setBidQuietHours": {
"digestHour": 0,
"mutedBidCount": 0,
"quietEnd": "string",
"quietStart": "string",
"timeZone": "string",
"version": 0,
"preferences": [
{
"kind": "APPROVAL",
"mailMode": "DIGEST",
"push": "DIGEST"
}
]
}
}
}
setBidQuietHours(
input: SetBidQuietHoursInput!
): BidNotificationSettingsView!

Arguments​

setBidQuietHours.input ● SetBidQuietHoursInput! non-null input​

Quiet hours, digest hour and the version you read.

Type​

BidNotificationSettingsView object​

The signed-in person's Bid Desk notification settings: a choice per kind (defaults where nothing is stored), quiet hours, digest hour and time zone.