Skip to main content
reservations

Create a reservation custom field

Creates a custom field for reservations in the studio the API key belongs to. Select fields accept their options in selectValues.

POST
/v1/reservations/custom-fields
beam-api-keystringheaderrequired

Body

application/json
currencyIdstring | null

The id of the currency for currency fields. Send null for none.

defaultValuestring | null

The default value applied to the custom field. Send null for none.

descriptionstring | null

A description of the custom field. Send null for none.

isSearchableboolean

Whether this custom field can be used in searches.

isUniquebooleanrequired

Whether each value of this custom field must be unique.

namestringrequired

The display name of the custom field. Must not match an existing asset custom field, tag category or location category name in the studio.

Minimum string length: 1
selectValuesobject[]

The options for select custom fields, each with its label (value) and position (order).

typeenum<string>required

The data type of the custom field.

Available options: text, select, description, date, email, number, checkbox, url, currency, signature, hyperlink

Response

application/json

The created reservation custom field

createdAtstringrequired

When the custom field was created, as an ISO 8601 timestamp.

currencyIdstring | nullrequired

The id of the currency for currency fields, or null otherwise.

defaultValuestring | nullrequired

The default value applied to the custom field, or null when none.

descriptionstring | nullrequired

A description of the custom field, or null when none.

entityTypestringrequired

The kind of record this custom field applies to, such as reservation.

idstringrequired

The id of the custom field.

isSearchablebooleanrequired

Whether this custom field can be used in searches.

isUniquebooleanrequired

Whether each value of this custom field must be unique.

namestringrequired

The display name of the custom field.

selectableValuesobject[]required

The options available for select custom fields.

typeenum<string>required

The data type of the custom field.

Available options: text, select, description, date, email, number, checkbox, url, currency, signature, hyperlink
updatedAtstringrequired

When the custom field was last updated, as an ISO 8601 timestamp.