Skip to main content

sendBidPriceRequest

Requires permission biddesk:guest:invite.

Sends a draft price request: each vendor gets an email with a link of their own that needs no account and expires 7 days after the reply-by date. A refused email is reported per vendor (the link can still be copied). PRICE_REQUEST_NO_PORTAL_ADDRESS without a portal address; VERSION_CONFLICT when someone changed it first. Requires Bid Desk and permission to invite guests.

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 SendBidPriceRequest($expectedVersion: Int!, $requestId: ID!) {
sendBidPriceRequest(expectedVersion: $expectedVersion, requestId: $requestId) {
deliveries {
message
sent
vendorId
}
}
}

Variables:

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

Response:

{
"data": {
"sendBidPriceRequest": {
"deliveries": [
{
"message": "string",
"sent": true,
"vendorId": "id"
}
]
}
}
}
sendBidPriceRequest(
expectedVersion: Int!
requestId: ID!
): BidPriceRequestSendResult!

Arguments​

sendBidPriceRequest.expectedVersion ● Int! non-null scalar​

The version the send is based on.

sendBidPriceRequest.requestId ● ID! non-null scalar​

The price request.

Type​

BidPriceRequestSendResult object​

A sent (or re-sent) price request and each vendor's email.