Skip to main content

linkBidRequirement

Requires permission biddesk:bid:update.

Links a requirement to a part of the configuration that answers it; linking it again restores an unlinked pair. Refused until that kind of item can be linked, and when the item is not in the bid. Requires Bid Desk and permission to edit 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 LinkBidRequirement($input: BidRequirementLinkInput!) {
linkBidRequirement(input: $input) {
id
createdAt
requirementId
targetId
targetType
}
}

Variables:

{
"input": {
"requirementId": "id",
"targetId": "id",
"targetType": "APPROVAL_STAGE"
}
}

Response:

{
"data": {
"linkBidRequirement": {
"id": "id",
"createdAt": "2025-01-15T00:00:00Z",
"requirementId": "id",
"targetId": "id",
"targetType": "APPROVAL_STAGE"
}
}
}
linkBidRequirement(
input: BidRequirementLinkInput!
): BidRequirementLink!

Arguments​

linkBidRequirement.input ● BidRequirementLinkInput! non-null input​

The requirement and the item.

Type​

A part of the offered solution that answers a requirement.