User authentication and session management for B2B integrations
- Edit Products
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
term: Name, article or barcode
page (number,
1) - Page number (not used if product_id is passed)count (number,
25) - Number of products on the page (not used if product_id is passed)category_id (number,
777) - Id of the product category (not used if product_id is passed)changed_after (string) - filtering products changed/created since a specific date and time (not used if product_id is passed)
changed_before (string) - filtering products changed/created before a specific date and time (not used if product_id is passed)
- 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 GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/goods/{location_id}/{product_id}?term=string&page=1&count=25&category_id=0&changed_after=2026-09-21T23%3A00%3A00.000-05%3A00&changed_before=2026-01-01T12%3A00%3A00-0500' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
Product data object
{ "success": true, "data": [ { … } ], "meta": [] }
The ratio of the unit of measure for sale to the unit of measure for write-off
An array of rules for converting units of measurement (required if there are inventory operations for the product)
- 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
{ "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'