put https://{subdomain}.pinpointhq.com/api/v1/custom_fields/
Request format
In order to update a custom field you must send a JSON:API spec JSON object representing a custom field.
Differences from creation
This endpoint works much in the same way as the Create Custom Field.
There are two exceptions to this:
field_typecannot be updated, this is because anycustom_attributesthat have already been created for thiscustom_fieldwill have a response based on the field type (e.g.custom_fieldsthat have a field type ofdatewill have been answered with a date and therefore can't be changed toboolean). If you want to change thefield_typeyou should create a newcustom_field(and optionally delete the existing one).resource_typecannot be updated.
Examples
{
"data": {
"id": "1",
"type": "custom_fields",
"attributes": {
"name": "Updated custom field"
}
}
}