Skip to main content

setBidRequirementStatus

Requires permission biddesk:bid:update.

Sets how the bid answers a requirement. DEVIATE needs the deviation stated (BID_REQUIREMENT_DEVIATION_REQUIRED); the same status again is refused (BID_REQUIREMENT_STATUS_UNCHANGED); VERSION_CONFLICT when someone changed it first. 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 SetBidRequirementStatus($input: SetBidRequirementStatusInput!) {
setBidRequirementStatus(input: $input) {
id
status
createdAt
bidId
category
deviationNote
links {
id
createdAt
requirementId
targetId
targetType
}
}
}

Variables:

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

Response:

{
"data": {
"setBidRequirementStatus": {
"id": "id",
"status": "CLARIFY",
"createdAt": "2025-01-15T00:00:00Z",
"bidId": "id",
"category": "COMMERCIAL",
"deviationNote": "string",
"links": [
{
"id": "id",
"createdAt": "2025-01-15T00:00:00Z",
"requirementId": "id",
"targetId": "id",
"targetType": "APPROVAL_STAGE"
}
]
}
}
}
setBidRequirementStatus(
input: SetBidRequirementStatusInput!
): BidRequirement!

Arguments​

setBidRequirementStatus.input ● SetBidRequirementStatusInput! non-null input​

The requirement, its version and the new status.

Type​

BidRequirement object​

One requirement of a bid, a row of its compliance matrix.