Occupations
Update Occupation
Zugriff
Mitglied der Organisation mit dieser Berechtigung:
terrains:write
Ein API-Schlüssel mit Scopes braucht die Berechtigung auch in seinen 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