Skip to main content
PATCH
Change a custom field

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Path Parameters

id
string
required

The field's ID.

Body

application/json

At least one of these.

field_label
string
options
string[]
required
boolean
sort_order
number

Response

The field, as it now is.

id
string
required
entity_type
enum<string>
required

The kind of record a custom field belongs to: an animal, a housing unit, or an adoption application.

Available options:
animal,
location_unit,
adoption_application
field_key
string
required

The key the value is stored under in a record's custom_fields.

field_label
string
required

The name staff see on the form.

field_type
enum<string>
required

What a value of the field must be. text a string; textarea a string of at most 5,000 characters; number a number; boolean true or false; date a date string; select one of the options; multiselect a list of the options; phone a phone number; email an email address; url an address starting http:// or https://; country_state an object with a two-letter country code and an optional state.

Available options:
text,
textarea,
number,
boolean,
date,
select,
multiselect,
phone,
email,
url,
country_state
options
string[]
required

The choices, for a select or multiselect. Empty for the other types.

required
boolean
required

Whether a record cannot be created without a value.

sort_order
number
required