# booking\_create\_service

Source: <https://telegafirst.com/docs/mcp-tool-booking-create-service>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: 1bfc4174da77d8ef0fcc2b7b8d20197ff5c11036f13f5d24bf189ca48d4beaf6
Version: 15

# booking\_create\_service

Create a booking SERVICE — the catalog item a client books (a haircut, a sauna hour, a night in a cabin). \`mode\` is \`hourly\` (\`duration\_value\` in hours: 0.5, 1, 1.5) or \`daily\` (\`duration\_value\` in days). \`resource\_ids\` are the masters / rooms that offer it, by their numbers (seq\_num — \`id\` of \`booking\_list\_resources\`; at least one). \`prices\` uses the catalog price list shape; omit it for a free service. Returns the new \`catalog\_item\_id\` for \`booking\_search\_availability\` and \`booking\_create\`. \`length\` sets how the buyer picks the length: \`length\_mode\` \`fixed\` (one block), \`list\` (\`length\_units\`: allowed block counts) or \`range\` (\`min\_units\`, \`max\_units\`, hourly \`window\_start\_minute\`/\`window\_end\_minute\`), and \`price\_tiers\` the price ladder (\`{id, units, prices}\` ascending by units; absent = linear by the block price); omitted = \`range\`, linear. To change the booking settings of an existing item use \`update\_catalog\_item\`. The idempotency\_key is mandatory. A retry with the same key and the same fields returns the first answer and repeats nothing.

## Права и условия

required\_scopes: ALL.

| Поле | Значение |
| - | - |
| description | "Create a booking SERVICE — the catalog item a client books (a haircut, a sauna hour, a night in a cabin). \`mode\` is \`hourly\` (\`duration\_value\` in hours: 0.5, 1, 1.5) or \`daily\` (\`duration\_value\` in days). \`resource\_ids\` are the masters / rooms that offer it, by their numbers (seq\_num — \`id\` of \`booking\_list\_resources\`; at least one). \`prices\` uses the catalog price list shape; omit it for a free service. Returns the new \`catalog\_item\_id\` for \`booking\_search\_availability\` and \`booking\_create\`. \`length\` sets how the buyer picks the length: \`length\_mode\` \`fixed\` (one block), \`list\` (\`length\_units\`: allowed block counts) or \`range\` (\`min\_units\`, \`max\_units\`, hourly \`window\_start\_minute\`/\`window\_end\_minute\`), and \`price\_tiers\` the price ladder (\`{id, units, prices}\` ascending by units; absent = linear by the block price); omitted = \`range\`, linear. To change the booking settings of an existing item use \`update\_catalog\_item\`. The idempotency\_key is mandatory. A retry with the same key and the same fields returns the first answer and repeats nothing." |
| domain | "booking" |
| name | "booking\_create\_service" |
| platform\_version | "1.0.34" |
| required\_scopes | \["booking:write"] |
| risk | "write" |
| scope | "booking:write" |
| title | "Booking Create Service" |

## Входные параметры

[booking\_create\_service: inputSchema](https://telegafirst.com/docs/schema-dd5b8fa00881c9c6f6a41923f3b6d079c1d2c557333ceadf1e816645737ed2b6)

## Результат

[booking\_create\_service: outputSchema](https://telegafirst.com/docs/schema-b4dc0330c79a94b942bb5f8b27c22f4a662cca7fc93bf1683647a50c19ce6d43)
