Skip to main content

updateBid

Requires permission biddesk:bid:update.

Changes an open or submitted bid's title, customer, owner, due date, estimate or confidentiality. Refused with BID_CLOSED on a closed bid and VERSION_CONFLICT when someone saved first. Requires Bid Desk and permission to update 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 UpdateBid($input: UpdateBidInput!) {
updateBid(input: $input) {
id
bidNumber
title
status
createdAt
closedAt
}
}

Variables:

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

Response:

{
"data": {
"updateBid": {
"id": "id",
"bidNumber": "string",
"title": "string",
"status": "CANCELLED",
"createdAt": "2025-01-15T00:00:00Z",
"closedAt": "2025-01-15T00:00:00Z"
}
}
}
updateBid(
input: UpdateBidInput!
): Bid!

Arguments​

updateBid.input ● UpdateBidInput! non-null input​

The bid, its version and the changes.

Type​

Bid object​

One bid: its number, title, customer, owner, due date, status, stage, confidentiality and estimated value in the organization's base currency.