Skip to main content

createBidPriceRequest

Requires permission biddesk:cost_sheet:edit.

Drafts a price request to one or more vendors for an item, with a reply-by date; nothing is sent. From a cost line, the item and quantity fill what is not given (PRICE_REQUEST_ITEM_REQUIRED when the item, its name or the quantity is still missing). 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 CreateBidPriceRequest($input: CreateBidPriceRequestInput!) {
createBidPriceRequest(input: $input) {
id
number
status
bidId
chosenVendorId
closedAt
vendors {
id
fileName
vendorName
status
answeredAt
contactEmail
}
}
}

Variables:

{
"input": {
"bidId": "id",
"dueAt": "2025-01-15T00:00:00Z",
"vendors": [
{
"contactEmail": "string",
"vendorPartnerId": "id"
}
]
}
}

Response:

{
"data": {
"createBidPriceRequest": {
"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"
}
]
}
}
}
createBidPriceRequest(
input: CreateBidPriceRequestInput!
): BidPriceRequest!

Arguments​

createBidPriceRequest.input ● CreateBidPriceRequestInput! non-null input​

The bid, the item, the vendors and the reply-by date.

Type​

BidPriceRequest object​

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