UnitGroup
Create a unit group
Use this call to create a new unit group.<br>You must have at least one of these scopes: 'unitgroups.create, setup.manage'.
post/inventory/v1/unit-groups
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": "DBL",
"propertyId": "MUC",
"name": {
"en": "Double Room",
"de": "Doppelzimmer"
},
"description": {
"en": "This is a nice room with as kingsize bed and flat screen",
"de": "Dies ist ein schönes Zimmer mit Kingsize-Bett und Flachbildschirm"
},
"maxPersons": 4,
"rank": 1,
"type": "BedRoom"
}Response
Creation of the new unit group was successful.
Example response
{
"id": "MUC-DBL"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.