User authentication and session management for B2B integrations
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.
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v1/openapi/
Production
https://api.alteg.io/api/v1/
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}
- Productionhttps://api.alteg.io/api/v1/company/{location_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/company/37532 \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "James Smith LLC",
"country": "United States",
"city": "New York",
"address": "New York, 787 Jackson Drive",
"zip": "11435",
"phones": [
"12125357710",
"12125357711"
],
"social": {
"instagram": "instagram.com/james_smith_company/"
},
"site": "james-smith-company.com",
"coordinate_lat": 40.73061,
"coordinate_lon": -73.935242,
"description": "The <strong>James Smith</strong> location",
"business_type_id": 1,
"short_descr": "Beauty studio"
}'OK
Example: {"id":37532,"title":"James Smith LLC","country_id":7,"country":"United States","city_id":181,"city":"New York","timezone_name":"America/New_York","address":"New York, 787 Jackson Drive","zip":"11435","coordinate_lat":40.73061,"coordinate_lon":-73.935242,"short_descr":"Beauty studio","social":{"facebook":"","instagram":"instagram.com/james_smith_company/","telegram":"","whatsapp":"","viber":""},"site":"james-smith-company.com","business_type_id":1,"description":"The <strong>James Smith</strong> location","phone_confirmation":true,"group_priority":900,"push_notification_phone_confirm":1,"access":{}}
Response
application/json
{ "success": true, "data": { "id": 37532, "title": "James Smith LLC", "country_id": 7, "country": "United States", "city_id": 181, "city": "New York", "timezone_name": "America/New_York", "address": "New York, 787 Jackson Drive", "zip": "11435", "coordinate_lat": 40.73061, "coordinate_lon": -73.935242, "short_descr": "Beauty studio", "social": { … }, "site": "james-smith-company.com", "business_type_id": 1, "description": "The <strong>James Smith</strong> location", "phone_confirmation": true, "group_priority": 900, "push_notification_phone_confirm": 1, "access": {} }, "meta": [] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}
- Productionhttps://api.alteg.io/api/v1/company/{location_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/company/37532 \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'