Skip to main content

updateBidPriceRequest

Requires permission biddesk:cost_sheet:edit.

Changes a draft price request: its text, quantity, dates, or the vendors asked. Refused with PRICE_REQUEST_NOT_DRAFT once sent; VERSION_CONFLICT when someone changed it first. Requires Bid Desk and permission to edit cost sheets.

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 UpdateBidPriceRequest($input: UpdateBidPriceRequestInput!) {
updateBidPriceRequest(input: $input) {
id
number
status
bidId
chosenVendorId
closedAt
vendors {
id
fileName
vendorName
status
answeredAt
contactEmail
}
}
}

Variables:

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

Response:

{
"data": {
"updateBidPriceRequest": {
"id": "id",
"number": "string",
"status": "CANCELLED",
"bidId": "id",
"chosenVendorId": "id",
"closedAt": "2025-01-15T00:00:00Z",
"vendors": [
{
"id": "id",
"fileName": "string",
"vendorName": "string",
"status": "ANSWERED",
"answeredAt": "2025-01-15T00:00:00Z",
"contactEmail": "string"
}
]
}
}
}
updateBidPriceRequest(
input: UpdateBidPriceRequestInput!
): BidPriceRequest!

Arguments​

updateBidPriceRequest.input ● UpdateBidPriceRequestInput! non-null input​

The request, its version and what changes.

Type​

BidPriceRequest object​

A request to vendors to quote an item, made from a bid. A draft sends nothing.