- Edit Products
Search products and categories
Get Products
Delete Items
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
Edit Products
The method allows you to change the product parameters. When editing units of measure for a product that already has inventory operations, you must add an array of rules for recalculating units of measure - correction_rules. Otherwise, the array is optional.
Security
BearerPartnerUser
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/locations/{location_id}/products/{product_id}
- Productionhttps://api.alteg.io/api/v1/locations/{location_id}/products/{product_id}
curl -i -X PUT \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/products/{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": [ { … } ], "last_change_date": "2026-01-01T12:00:00-0500" }
Response
{ "success": true, "data": [ { … } ], "meta": [] }