Creates a service in the Location catalog: a simple service (type: simple) or a package of simple services (type: package with a package block). The response is the new service as getService returns it; the Location header holds its URL.
- Team Members. A simple service is created without Team Members: link them through
updateTeamMemberServices, since a service without a bookable Team Member link does not appear in availability search. A package is linked to every Team Member who provides at least one of its components. - Names. A link in
nameoronline_booking_namefails with422at the field: Altegio would cut it out of the name. A link is a URL or anyword.wordwithout a space, such asDr.Lash. Withoutonline_booking_name, or withnull, the service showsnamein online booking. Characters outside the Basic Multilingual Plane (emoji and other 4-byte UTF-8 characters) inname,online_booking_nameandonline_booking_descriptionfail with422at the field. - Prices. Integer minor units of the Location currency. Omit
price_max_minorfor a single price, sendnullfor a "from X" price without an upper bound, or sendprice_min_minor: 0withprice_max_minorfor an "up to Y" price. Altegio stores two decimals: in a currency with three, an amount that is not a multiple of 10 fails with422and field codeinvalid_value. An amount above what Altegio can store fails with422. - Packages. Altegio computes the package duration from its components (
parallel: the longest component, otherwise the sum) and, unlesspricing_typeismanual, the package price. - A new service gets
weight0, like one created in Altegio, so it is listed after the services the business has ordered. It is never a group-event service. Permissions on single fields are not checked on creation. When the plan of the Location does not allow switching online booking of services,online_booking_enabledmust befalse:true, or an omitted field, fails with422and field codeinvalid_value.
A category_id or component service_id that is not listed in this Location fails with the same 422 validation_failed at its pointer, whether it belongs to another Location, is deleted, or does not exist; a chain category (chain_id set) fails the same way. The body must be a JSON object sent as application/json: another media type fails with 415 unsupported_media_type, broken JSON or a body that is not an object with 400 malformed_request.
Service kind. Immutable after creation.
Internal name shown to the business in Altegio. A link (a URL or any word.word without a space, such as Dr.Lash) fails with 422, as do a blank name, a name of 0 alone, and characters outside the Basic Multilingual Plane (emoji).
A category listed by listServiceCategories in this Location, other than a chain category. Any other id fails with 422 validation_failed at /category_id.
Duration in seconds, from 0 to 86400 in 5-minute steps; 0 for a service without a duration.
Price, or the lower bound of a price range, in integer minor units of the Location currency; 0 for a free service.
Client-facing name for online booking. Omit it or send null to show name; an empty or blank string and 0 alone fail with 422. A link (a URL or any word.word without a space, such as Dr.Lash) fails with 422. Characters outside the Basic Multilingual Plane (emoji) fail with 422.
Description of the service for clients in online booking. Plain text. A < must be followed by a space: Altegio treats any other < as the start of an HTML tag and drops everything up to the next >, or to the end of the text, so such a value fails with 422. null or an empty string stores no description. Characters outside the Basic Multilingual Plane (emoji) fail with 422.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v3/openapi/locations/{location_id}/services
- Preview resource API contract - endpoint surface is not live yethttps://api.alteg.io/api/v3/locations/{location_id}/services
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v3/openapi/locations/{location_id}/services' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"type": "simple",
"name": "Men'\''s haircut",
"online_booking_name": "Haircut for men",
"online_booking_description": "Wash, cut and styling.",
"category_id": 205,
"duration_seconds": 3600,
"price_min_minor": 250000,
"price_max_minor": 300000
}'The created service. Location holds its URL, /api/v3/locations/{location_id}/services/{id}.
Requests left in the most constrained policy window that applies to this request.
On 429, seconds until the most constrained policy frees up; it equals Retry-After there. On a successful response it reports the length of that policy's window rather than the time left in the current one, so treat it as the window size, not as a countdown — the counter to pace against is RateLimit-Remaining.
Most constrained policy applied to the request, as <limit>;w=<window in seconds>.
Service kind. Immutable after creation (422 field_immutable). A package service bundles several simple services of the same Location; it appears in the same list and is scheduled by the same service_id.
Internal name shown to the business in Altegio, as the business entered it; not translated.
Client-facing name shown in online booking, as the business entered it; equals name when no separate online booking name is set. Not translated.
Description of the service for clients in online booking, as the business entered it in Altegio; plain text. null when there is none.
Service category (listServiceCategories); null when the category is not listed in this Location.
Id of the chain that manages the service; null for a service of this Location alone. A chain service is edited in the chain: updateService fails with 422 field_immutable on the fields the chain manages, deleteService with 409 conflict.
Default duration of the service in seconds (the Location-wide default, 3600 when none is set). For a package, Altegio computes it from the components.
Display order the business set in Altegio (higher first). Lists are ordered by id; sort by weight on the client. A service created through createService gets 0, like one created in Altegio.
Base price of the service in this Location, integer minor units of the Location currency, as set by the business: a single price or the lower bound of a range; 0 for a free service and for an "up to Y" price. For a package, the package price stored in Altegio. Team Member prices by grade can differ.
Upper bound of the base price, integer minor units of the Location currency. Equals price_min_minor for a single price; greater for a range from price_min_minor to this value, or for an "up to Y" price when price_min_minor is 0; 0 for a free service (both bounds 0); null for a "from X" price without an upper bound (price_min_minor above 0).
The business's online booking setting for this service in the Location. It does not mean that free time is available; free slots come from the availability operations.
Team Members providing this service. Read-only here; links are written through updateTeamMemberServices.
Package settings and components of a service with type: package.
UTC; null when the creation date is not stored.
{ "id": 101, "object": "service", "type": "simple", "name": "Men's haircut", "online_booking_name": "Haircut for men", "online_booking_description": "Wash, cut and styling.", "category_id": 205, "chain_id": null, "duration_seconds": 3600, "weight": 0, "currency": "EUR", "online_booking_enabled": true, "team_member_ids": [], "package": null, "created_at": "2026-11-03T08:00:00Z", "price_min_minor": 250000, "price_max_minor": 300000 }