Property
Creates a property
Use this call to create a new property.<br>You must have at least one of these scopes: 'properties.create, setup.manage'.<br>For fine-grained clients, you must have this permission: 'core.properties.create'.
post/inventory/v1/properties
Request
- Base URLhttps://api.apaleo.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.apaleo.com/inventory/v1/properties
- AuthOAuth 2Implicit: https://identity.apaleo.com/connect/authorizeScopes: properties.create, setup.manage, admin
Headers
Idempotency-Keystring
Unique key for safely retrying requests without accidentally performing the same operation twice. We'll always send back the same response for requests made with the same key, and keys can't be reused with different request parameters. Keys expire after 24 hours.
Request body
Example request
{
"code": "MUC",
"name": {
"en": "Demo Hotel Munich",
"de": "Demo Hotel München"
},
"companyName": "Hotel Münchner GmbH",
"managingDirectors": "Franz-Josef Gruber",
"commercialRegisterEntry": "Amtsgericht München, HRB 279336",
"taxId": "DE311053702",
"description": {
"en": "This is the demo hotel Munich",
"de": "Dies ist das Demo Hotel München"
},
"location": {
"addressLine1": "Marienplatz 1",
"postalCode": "80331",
"city": "München",
"countryCode": "DE"
},
"bankAccount": {
"iban": "DE44 5001 0517 5407 3249 31",
"bic": "SSKMDEMMXXX",
"bank": "Stadtsparkasse München"
},
"paymentTerms": {
"en": "Pay on checkout",
"de": "Zahlung bei Checkout"
},
"timeZone": "Europe/Berlin",
"defaultCheckInTime": "17:00:00",
"defaultCheckOutTime": "11:00:00",
"currencyCode": "EUR"
}Response
Creation of the new property was successful.
Example response
{
"id": "MUC"
}Changes
No recorded changes to this operation across all 4 revisions of this API.