PropertyActions
Clones a property
Use this call to clone a specific property. This operation creates a new property with inventory and rate plans from the specified property.<br>You must have at least one of these scopes: 'properties.create, setup.manage'.
post/inventory/v1/property-actions/{id}/clone
Path parameters
idstring required
The id of the property.
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
Cloning of the existing property was successful.
Example response
{
"id": "MUC"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.