Skip to main content

rotateBidInboxAddress

Requires permission biddesk:settings:manage.

Gives the bid inbox a new address. The old address stops working at once. Refused with VERSION_CONFLICT when someone saved first. Requires Bid Desk and permission to manage Bid Desk settings.

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 RotateBidInboxAddress($expectedVersion: Int!) {
rotateBidInboxAddress(expectedVersion: $expectedVersion) {
address
defaultDueDays
enabled
version
owner {
id
name
}
}
}

Variables:

{
"expectedVersion": 0
}

Response:

{
"data": {
"rotateBidInboxAddress": {
"address": "string",
"defaultDueDays": 0,
"enabled": true,
"version": 0,
"owner": {
"id": "id",
"name": "string"
}
}
}
}
rotateBidInboxAddress(
expectedVersion: Int!
): BidInbox!

Arguments​

rotateBidInboxAddress.expectedVersion ● Int! non-null scalar​

The version you loaded.

Type​

BidInbox object​

The organization's bid inbox: one address that customers or colleagues can send requests for quotation to, the bid manager who owns bids opened from it, and how many days ahead a new draft bid is due.