User authentication and session management for B2B integrations
- Create an inventory operation
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.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/storages/transactions/{location_id}
- Productionhttps://api.alteg.io/api/v1/storages/transactions/{location_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/storages/transactions/{location_id}?page=1&count=20&start_date=%27%27&end_date=%27%27&document_id=string&changed_after=string&changed_before=string' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
Array of objects with data
{ "success": true, "data": [ { … } ], "meta": [] }
Request
An inventory operation is created by submitting a document along with multiple product transactions in a single API request. If a payment type is specified, the corresponding financial transactions will be generated automatically.
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)
- 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
{ "success": true, "data": { "document": { … }, "transactions": [ … ] }, "meta": [] }
Date of the inventory transaction
- 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
{ "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": [] }