Skip to main content

setBidStageDue

Requires permission biddesk:bid:update.

Moves one stage deadline of a bid. Refused with BID_STAGE_AFTER_DUE when it falls after the bid's due date, BID_CLOSED on a closed bid and VERSION_CONFLICT when someone saved first. Requires Bid Desk and permission to update 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 SetBidStageDue($input: SetBidStageDueInput!) {
setBidStageDue(input: $input) {
id
bidId
completedAt
dueOn
position
stageKey
}
}

Variables:

{
"input": {
"dueOn": "string",
"expectedVersion": 0,
"stageId": "id"
}
}

Response:

{
"data": {
"setBidStageDue": {
"id": "id",
"bidId": "id",
"completedAt": "2025-01-15T00:00:00Z",
"dueOn": "string",
"position": 0,
"stageKey": "APPROVAL"
}
}
}
setBidStageDue(
input: SetBidStageDueInput!
): BidStage!

Arguments​

setBidStageDue.input ● SetBidStageDueInput! non-null input​

The stage, its version and the new deadline.

Type​

BidStage object​

One stage of a bid's plan, due on a date in the organization's time zone.