Accounts
Update custom field configurations
Changed onReplace the account's custom field definitions. The customFields array you send replaces the entire existing set, so any field you omit is removed from the account. Every field must carry a fieldId — new fields cannot be added here — and a field's key, type, object and displayName are fixed at creation and cannot be changed. Returns the account's complete custom field list.
put/accounts/{id}/custom-fields
Request
- Base URLhttps://open-api.guesty.com/v1
- URLhttps://open-api.guesty.com/v1/accounts/{id}/custom-fields
- AuthAPI key in header authorization
Path parameters
idstring required
Guesty account ID or me
Request body
Example request
{
"customFields": [
{
"isPublic": true,
"key": "Special requests",
"object": "reservation",
"options": [
"Welcome package A",
"Welcome package B",
"Welcome package C"
],
"fieldId": "5dc03b42e28baf001e2b35d0"
}
]
}Response
Custom Fields Array
Example response
[
{
"fieldId": "5dc03b42e28baf001e2b35d0"
}
]Changes
- info
endpoint added
- info