User authentication and session management for B2B integrations
- Deprecated. Delete Event
Business Management (1.0.0)
Full-featured B2B API for business operations.
Base URL: https://api.alteg.io/api
V1 will be gradually deprecated. We recommend using V2 API for new integrations. V1 endpoints are maintained for backward compatibility, but new features will be released in V2 only.
Request
This endpoint is deprecated. Use PUT /v2/companies/{location_id}/activities/{event_id} instead.
Migration: The V2 Activities API provides enhanced validation and JSON:API formatted responses. See operation update_event_v2 for details.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/activity/{location_id}/{event_id}
- Productionhttps://api.alteg.io/api/v1/activity/{location_id}/{event_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/activity/{location_id}/{event_id}' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"date": "2026-10-10 15:30",
"service_id": 1185299,
"staff_id": 26427,
"length": 3600,
"capacity": 9,
"resource_instance_ids": [
3127
],
"force": false
}'OK
Object with data
{ "success": true, "data": { "id": 108, "salon_id": 4564, "service_id": 1185299, "staff_id": 26427, "date": "2026-09-21T23:00:00.000-05:00", "length": 3600, "capacity": 9, "records_count": 0, "color": "", "font_color": "", "service": { … }, "staff": { … }, "resource_instances": [ … ] }, "meta": [] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/activity/{location_id}/{event_id}
- Productionhttps://api.alteg.io/api/v1/activity/{location_id}/{event_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/activity/{location_id}/{event_id}' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'{ "success": true, "meta": { "message": "Accepted" } }
Request
This endpoint is deprecated. Use POST /v2/companies/{location_id}/activities instead.
Migration: The V2 Activities API provides enhanced validation, better error handling, and JSON:API format responses. See operation create_event_v2 for details.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/activity/{location_id}
- Productionhttps://api.alteg.io/api/v1/activity/{location_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/activity/{location_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"date": "2026-10-10 15:30",
"service_id": 1185299,
"staff_id": 26427,
"length": 3600,
"capacity": 9,
"resource_instance_ids": [
3127
],
"force": false
}'OK
Object with data
{ "success": true, "data": { "id": 108, "salon_id": 4564, "service_id": 1185299, "staff_id": 26427, "date": "2026-09-21T23:00:00.000-05:00", "length": 3600, "capacity": 9, "records_count": 0, "color": "", "font_color": "", "service": { … }, "staff": { … }, "resource_instances": [ … ] }, "meta": [] }