Service
Create a service.
Create a service.<br>You must have at least one of these scopes: 'services.create, setup.manage'.
post/rateplan/v1/services
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": "BRK",
"name": {
"en": "Breakfast",
"de": "Frühstück"
},
"description": {
"en": "Yummy yummy breakfast",
"de": "Leckeres Frühstück"
},
"propertyId": "MUC",
"defaultGrossPrice": {
"amount": 20,
"currency": "EUR"
},
"pricingUnit": "Person",
"postNextDay": true,
"availability": {
"mode": "Daily",
"quantity": 3,
"daysOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
]
},
"channelCodes": [
"Direct",
"Ibe",
"BookingCom",
"ChannelManager"
],
"accountingConfigs": [
{
"state": "Unknown",
"vatType": "Normal",
"serviceType": "FoodAndBeverages",
"subAccountId": "ALCO",
"validFrom": "2021-01-01"
}
],
"ageCategoryId": "MUC-BABY"
}Response
Service successfully created.
Example response
{
"id": "MUC-BRKF"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.