updateBidProposalSection
Requires permission biddesk:proposal:edit.
Changes one section of a draft revision and recomputes its hash; no other section changes. Refused with PROPOSAL_REVISION_LOCKED once released, PROPOSAL_CONTENT_INTERNAL for a cost or margin key, PROPOSAL_CONTENT_INVALID, or VERSION_CONFLICT. Requires Bid Desk and permission to edit proposals.
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:
- GraphQL
- cURL
mutation UpdateBidProposalSection($input: UpdateBidProposalSectionInput!) {
updateBidProposalSection(input: $input) {
id
revisionNumber
status
createdAt
basedOnId
bidId
sections {
id
title
type
content
contentHash
position
}
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation UpdateBidProposalSection($input: UpdateBidProposalSectionInput!) {\n updateBidProposalSection(input: $input) {\n id\n revisionNumber\n status\n createdAt\n basedOnId\n bidId\n sections {\n id\n title\n type\n content\n contentHash\n position\n }\n }\n}",
"variables": {
"input": {
"expectedVersion": 0,
"id": "id"
}
}
}
EOF
Variables:
{
"input": {
"expectedVersion": 0,
"id": "id"
}
}
Response:
{
"data": {
"updateBidProposalSection": {
"id": "id",
"revisionNumber": 0,
"status": "DRAFT",
"createdAt": "2025-01-15T00:00:00Z",
"basedOnId": "id",
"bidId": "id",
"sections": [
{
"id": "id",
"title": "string",
"type": "COMPLIANCE_MATRIX",
"content": {},
"contentHash": "string",
"position": 0
}
]
}
}
}
updateBidProposalSection(
input: UpdateBidProposalSectionInput!
): BidProposalRevision!
Arguments
updateBidProposalSection.input ● UpdateBidProposalSectionInput! non-null input
The section, its version and the change.
Type
BidProposalRevision object
One revision of a bid's proposal (R0, R1, …) with its seven sections.