Update Position
Authorization
bearerAuth A key in the form pepvote_api_ followed by 32 hexadecimal characters.
In: header
Header Parameters
Name and version of the calling integration. Required on every request.
Path Parameters
Voting event ID or code.
ID of the record.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Send at least 1 property
Position title.
- Length:
1 to 200 characters
Description shown on the ballot.
- Length:
up to 2000 characters
Group the position belongs to. Requires group mode.
Fewest candidates a voter must choose.
- Minimum value:
0
Most candidates a voter may choose.
- Minimum value:
1
How votes are cast and counted for the position: plurality, approval, score, cumulative, quadratic, ranked_choice, or referendum.
- Values:
plurality|approval|score|cumulative|quadratic|ranked_choice|referendum
How the tally is computed. type must match the voting method; seatCount, stvQuota, and bordaSchema apply to ranked methods.
Lowest score a voter can give under score voting.
Highest score a voter can give under score voting.
Points each voter distributes under cumulative voting.
- Minimum value:
1
Credits every voter starts with under quadratic voting.
- Minimum value:
1
Let voters buy extra credits under quadratic voting.
Cap on purchased credits per voter.
- Minimum value:
0
Response Body
application/json
curl -X PATCH "https://example.com/voting-events/string/positions/string" \ -H "User-Agent: my-app/1.0" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"id": "string",
"votingEventId": "string",
"groupId": "string",
"title": "string",
"desc": "string",
"votingMethod": "string",
"tallyRule": {
"type": "plurality_total",
"seatCount": 1,
"stvQuota": "droop",
"bordaSchema": "zero_based"
},
"minSelections": 0,
"maxSelections": 0,
"scoreMin": 0,
"scoreMax": 0,
"cumulativePointBudget": 0,
"quadraticBaseCreditBudget": 0,
"quadraticAllowCreditTopUps": true,
"quadraticMaxPurchasedCreditsPerVoter": 0,
"createdAt": 0
}
}Last updated September 6, 2026