User authentication and session management for B2B integrations
- Create document
Get location inventories
Search for product transactions
Create an inventory operation
Get document
Update Document
Delete document
Create Transaction
Get a transaction
Transaction update
Deleting a transaction
Get Product Transactions of a Document
Retrieve a list of bill of materials and consumables
Get the Bill of Materials for a Team Member’s Service
Retrieve a list of bill of materials and consumables
Update Consumables for the Appointment-Service Association
Unlink Appointment-Service Association
Create document
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/
Body*/*required
An array of objects containing transaction parameters, similar to a request to create a product transaction
Document type (Sale 1, Usage / Material Consumption 2, Product Receipt / Incoming 3, Inventory Write-off / Product Disposal 4, Internal Transfer 5)
Example: 1
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/storage_operations/operation/{location_id}
- Productionhttps://api.alteg.io/api/v1/storage_operations/operation/{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/storage_operations/operation/{location_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: */*' \
-d '[object Object]'OK
Object with data
Example: {"document":{"id":22255506,"type_id":1,"type":{"id":1,"title":"Sale of goods"},"storage_id":91271,"user_id":999290,"company_id":4564,"number":1254,"comment":"test document comment","create_date":"2026-09-21T23:00:00.000-05:00","storage":{"id":91271,"title":"Secret place"},"company":{"id":4564,"title":"Business Example","country_id":7,"city_id":2,"timezone":"-5","address":"New York, 787 Jackson Drive","coordinate_lat":40.73061,"coordinate_lon":-73.935242,"logo":"https://app.alteg.io/uploads/s_120d9410f1472a4e6bdbafefe7eeba42.png","zip":"","phones":[],"site":"www.example.com"},"user":{"id":999290,"name":"User name","phone":"+13155550175"}},"transactions":[{"id":3428012,"document_id":22255506,"type_id":1,"type":{"id":1,"title":"Sale of goods"},"company_id":4564,"good_id":232674,"amount":-1,"cost_per_unit":100,"discount":10,"cost":90,"unit_id":1,"storage_id":91271,"supplier_id":0,"client_id":0,"master_id":0,"create_date":"2026-09-21T23:00:00.000-05:00","comment":"test transaction comment","deleted":false,"good":{"id":232674,"title":"Edition De Luxe"},"storage":{"id":91271,"title":"Secret place"},"supplier":[],"client":[],"master":[],"unit":{"id":1,"title":"Thing"}}]}
Response
application/json
{ "success": true, "data": { "document": { … }, "transactions": [ … ] }, "meta": [] }
Bodyapplication/jsonrequired
Date of the inventory transaction
Example: "2026-09-21T23:00:00.000-05:00"
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/storage_operations/documents/{location_id}
- Productionhttps://api.alteg.io/api/v1/storage_operations/documents/{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/storage_operations/documents/{location_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"type_id": 1,
"comment": "Document comment",
"storage_id": 36539,
"create_date": "2026-09-21T23:00:00.000-05:00"
}'OK
Object with data
Example: {"id":22255503,"type_id":1,"type":{"id":1,"title":"Sale of goods"},"storage_id":36539,"user_id":999290,"company_id":4564,"number":1251,"comment":"Document comment","create_date":"2026-09-21T23:00:00.000-05:00","storage":{"id":36539,"title":"Products"},"company":{"id":4564,"title":"Business Example","country_id":7,"city_id":2,"timezone":"-5","address":"New York, 787 Jackson Drive","coordinate_lat":40.73061,"coordinate_lon":-73.935242,"logo":"https://app.alteg.io/uploads/s_120d9410f1472a4e6bdbafefe7eeba42.png","zip":"","phones":[],"site":"www.example.com"},"user":{"id":999290,"name":"User name","phone":"+13155550175"}}
Response
application/json
{ "success": true, "data": { "id": 22255503, "type_id": 1, "type": { … }, "storage_id": 36539, "user_id": 999290, "company_id": 4564, "number": 1251, "comment": "Document comment", "create_date": "2026-04-24 20:00:00", "storage": { … }, "company": { … }, "user": { … } }, "meta": [] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/storage_operations/documents/{location_id}/{document_id}
- Productionhttps://api.alteg.io/api/v1/storage_operations/documents/{location_id}/{document_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/storage_operations/documents/{location_id}/{document_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
Object with data
Example: {"id":22255503,"type_id":1,"type":{"id":1,"title":"Sale of goods"},"storage_id":36539,"user_id":999290,"company_id":4564,"number":1251,"comment":"Document comment","create_date":"2026-09-21T23:00:00.000-05:00","storage":{"id":36539,"title":"Products"},"company":{"id":4564,"title":"Business Example","country_id":7,"city_id":2,"timezone":"-5","address":"New York, 787 Jackson Drive","coordinate_lat":40.73061,"coordinate_lon":-73.935242,"logo":"https://app.alteg.io/uploads/s_120d9410f1472a4e6bdbafefe7eeba42.png","zip":"","phones":[],"site":"www.example.com"},"user":{"id":999290,"name":"User name","phone":"+13155550175"}}
Response
application/json
{ "success": true, "data": { "id": 22255503, "type_id": 1, "type": { … }, "storage_id": 36539, "user_id": 999290, "company_id": 4564, "number": 1251, "comment": "Document comment", "create_date": "2026-04-24 20:00:00", "storage": { … }, "company": { … }, "user": { … } }, "meta": [] }