Update Field
Updates an existing sponsor custom field definition by field_id. Send only the properties you want to change. For choice-based fields, you can add new choices, update existing choices by id, or delete choices by passing delete: true with the choice id. Returns the full updated field definition including all current choices.
Authorizations
OAuth 2.0 bearer token obtained from POST /oauth2/token. Tokens expire after 30 minutes. Include in the Authorization header as Bearer {access_token}.
Path Parameters
integer - required - The ID of the field you want to update
1
Body
Response
Update An Existing Sponsor Field
false
"level"
[
{ "id": 47, "name": "Gold", "sort": 0 },
{
"id": 48,
"name": "update choice name",
"sort": 1
},
{ "id": 49, "name": "Bronze", "sort": 2 },
{ "id": 68, "name": "Platinum", "sort": 4 },
{
"id": 137,
"name": "new choices of level",
"sort": 6
},
{
"id": 138,
"name": "new choices of level",
"sort": 7
},
{
"id": 139,
"name": "new choices of level",
"sort": 8
},
{
"id": 140,
"name": "new choices of level",
"sort": 9
},
{
"id": 141,
"name": "new choices of level",
"sort": 10
},
{
"id": 142,
"name": "new choices of level",
"sort": 11
}
]27
"new level of sponsorship 1"
false
4
"dropDownList"
true