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

Request

PATCH /customFields/{CustomFieldId}

Query Parameters

Name
Type
Required
Comments
CustomFieldId
integer
yes
Id of custom field you want to update.
Request Body
"data": {
"assignedCategoryIds": [],
"defaultValue": null,
"id": 42624,
"isHidden": false,
"isRequired": false,
"isSensitiveData": false,
"name": "purchase date",
"order": 2,
"placeholder": "",
"possibleValues": [],
"type": "date",
"value": null
}
Body of request should contain Custom field model serialized to JSON.

Response

{
"data": {
"assignedCategoryIds": [],
"defaultValue": null,
"id": 42624,
"isHidden": false,
"isRequired": false,
"isSensitiveData": false,
"name": "purchase date",
"order": 2,
"placeholder": "",
"possibleValues": [],
"type": "date",
"value": null
},
"errorCode": -1,
"errorText": null
}
Data field has type array of custom field objects.
Copy link
On this page