S
S
Socialboards
Search…
Update Custom Field
All API requests should contain authorization headers.

Request

1
PATCH /customFields/{CustomFieldId}
Copied!

Query Parameters

Name
Type
Required
Comments
CustomFieldId
integer
yes
Id of custom field you want to update.
Request Body
1
"data": {
2
"assignedCategoryIds": [],
3
"defaultValue": null,
4
"id": 42624,
5
"isHidden": false,
6
"isRequired": false,
7
"isSensitiveData": false,
8
"name": "purchase date",
9
"order": 2,
10
"placeholder": "",
11
"possibleValues": [],
12
"type": "date",
13
"value": null
14
}
Copied!
Body of request should contain Custom field model serialized to JSON.

Response

1
{
2
"data": {
3
"assignedCategoryIds": [],
4
"defaultValue": null,
5
"id": 42624,
6
"isHidden": false,
7
"isRequired": false,
8
"isSensitiveData": false,
9
"name": "purchase date",
10
"order": 2,
11
"placeholder": "",
12
"possibleValues": [],
13
"type": "date",
14
"value": null
15
},
16
"errorCode": -1,
17
"errorText": null
18
}
Copied!
Data field has type array of custom field objects.
Last modified 1yr ago
Copy link