Occupations
Update Occupation
Dostęp
Członek organizacji z tym uprawnieniem:
terrains:write
Klucz API z zakresami potrzebuje też tego uprawnienia w swoich zakresach.
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