Skip to main content

acceptBidHandoff

Requires permission biddesk:bid:read.

Accepts a pending hand-off. Only a member holding the receiving role, or the bid owner, can; the sender is told. Refused with HANDOFF_NOT_YOURS otherwise, VERSION_CONFLICT when the hand-off changed. 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 AcceptBidHandoff($expectedVersion: Int!, $id: ID!) {
acceptBidHandoff(expectedVersion: $expectedVersion, id: $id) {
id
bidNumber
sentByName
status
createdAt
acceptedAt
checklist {
clear
count
key
}
}
}

Variables:

{
"expectedVersion": 0,
"id": "id"
}

Response:

{
"data": {
"acceptBidHandoff": {
"id": "id",
"bidNumber": "string",
"sentByName": "string",
"status": "ACCEPTED",
"createdAt": "2025-01-15T00:00:00Z",
"acceptedAt": "2025-01-15T00:00:00Z",
"checklist": [
{
"clear": true,
"count": 0,
"key": "DEVIATIONS"
}
]
}
}
}
acceptBidHandoff(
expectedVersion: Int!
id: ID!
): BidHandoff!

Arguments​

acceptBidHandoff.expectedVersion ● Int! non-null scalar​

The hand-off's version you last saw.

acceptBidHandoff.id ● ID! non-null scalar​

The hand-off.

Type​

BidHandoff object​

A bid handed from one stage to the next team, with its checklist.