Views
Update a saved view
Changed onApply a partial update to one of your account's saved views. Only the fields you send are changed, except arrays such as filters and columns, which are replaced wholesale rather than merged. Guesty's predefined views cannot be modified and return 400. Returns the updated view.
put/views/{id}
Request
- Base URLhttps://open-api.guesty.com/v1
- URLhttps://open-api.guesty.com/v1/views/{id}
- AuthAPI key in header authorization
Path parameters
idstring required
View ID
Request body
Example request
{
"scheduledEmails": [
{
"days": [
4
],
"hour": 14
}
],
"shares": [
{
"contactId": "5926bdfb1bfe871000d0a745"
}
]
}Response
Retrieve the updated listing, selection of fields that were sent in body.
Example response
{
"scheduledEmails": [
{
"days": [
4
],
"hour": 14
}
],
"shares": [
{
"contactId": "5926bdfb1bfe871000d0a745"
}
]
}Changes
- breaking
the
request property format changed from no format todate-time - breaking
the
//request property format changed from no format toint32 - breaking
the
request property format changed from no format todate-time - info
api operation id
accountsViewUpdatewas added
- breaking