User authentication and session management for B2B integrations
- Delete Items
Search products and categories
Get Products
Edit Products
Get a list of products
Create product
Example of a request to get categories
Example of a request to get the composition of a category
Get a list of product categories by ID
Create a Product Category
Edit a Product Category
Delete a Product Category
Get a list of product categories
Delete Items
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/
Bodyapplication/jsonrequired
The ratio of the unit of measure for sale to the unit of measure for write-off
Example: 100
An array of rules for converting units of measurement (required if there are inventory operations for the product)
Example: [{"type":1,"base_unit":"service"},{"type":2,"base_unit":"service"},{"type":3,"base_unit":"sale"},{"type":4,"base_unit":"sale"},{"type":5,"base_unit":"sale"}]
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/goods/{location_id}/{product_id}
- Productionhttps://api.alteg.io/api/v1/goods/{location_id}/{product_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/goods/{location_id}/{product_id}' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "Shampoo",
"print_title": "Shampoo",
"article": "123",
"barcode": "123",
"category_id": 289632,
"cost": 1000,
"actual_cost": 500,
"sale_unit_id": 216762,
"service_unit_id": 216762,
"unit_equals": 100,
"critical_amount": 1,
"desired_amount": 1,
"netto": 200,
"brutto": 250,
"comment": "Test comment 123",
"tax_variant": 0,
"vat_id": 3,
"correction_rules": [
{
"type": 1,
"base_unit": "service"
},
{
"type": 2,
"base_unit": "service"
},
{
"type": 3,
"base_unit": "sale"
},
{
"type": 4,
"base_unit": "sale"
},
{
"type": 5,
"base_unit": "sale"
}
]
}'OK
Product data object
Example: {"title":"Shampoo 1","value":"Shampoo 1","label":"Shampoo 1 (123)","good_id":123456,"cost":100500,"unit_id":4835,"unit_short_title":"PC","service_unit_id":3548,"service_unit_short_title":"gr","actual_cost":1050,"unit_actual_cost":105,"unit_actual_cost_format":"105 r","unit_equals":10,"barcode":"123","loyalty_abonement_type_id":"150","loyalty_certificate_type_id":"0","loyalty_allow_empty_code":false,"critical_amount":0,"desired_amount":0,"actual_amounts":[{"storage_id":987,"amount":1000000}],"last_change_date":"2026-01-01T12:00:00-0500"}
Response
application/json
{ "success": true, "data": [ { … } ], "meta": [] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/goods/{location_id}/{product_id}
- Productionhttps://api.alteg.io/api/v1/goods/{location_id}/{product_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/goods/{location_id}/{product_id}' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/goods/{location_id}
- Productionhttps://api.alteg.io/api/v1/goods/{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/goods/{location_id}' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'Response
application/json
{ "success": true, "data": [ { … } ], "meta": [] }