Occupations
Update Occupation
Acesso
Membro da organização com esta permissão:
terrains:write
Uma chave de API com scopes também precisa da permissão nos seus scopes.
PATCH
Updates an existing occupation (type, rent period, price, description, paid until, invoiced until).
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringapplication/json- body
occupationType?stringValue in
"OWN_ACCOMMODATION""RENTAL_CARAVAN"rentPeriod?|nullprice?number|nulldescription?string|nullpaidUntil?|nullinvoicedUntil?|nullcustomFields?OK
application/json- response
curl -X PATCH 'https://api.tillor.eu/orgs//occupations/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
null