The Transactions API governs physical and logical stock operations between storage facilities:
stock-transfers): Inter-warehouse merchandise movements, in-transit status tracking, and dispatch/receipt confirmations (SAP OWTR).goods-movements): Miscellaneous goods receipts (entries) and goods issues (departures), inventory write-offs, shrinkage adjustments, and sample distributions (SAP OIGN / OIGE)./v1/inventory/transactions/stock-transfers/v1/inventory/transactions/goods-movements| Header | Type | Description |
|---|---|---|
Authorization |
string |
Bearer <token> OAuth2 token. |
x-app-stage |
string |
Current tenant stage (dev, staging, prod). |
x-app-uid |
string |
Authenticated user UUID. |
| Parameter | Type | Default | Description |
|---|---|---|---|
companyId |
integer |
Required | Active operating company ID. |
page |
integer |
1 |
Page index. |
limit |
integer |
15 |
Page size. |
stock-transfers)Retrieve transfer requests and confirmed dispatches.
GET /v1/inventory/transactions/stock-transfers/list?companyId=1&limit=15
200 OK{
"success": true,
"message": "Proceso realizado correctamente",
"data": [
{
"id": 850,
"company_id": 1,
"transfer_number": "TR-2026-00850",
"from_warehouse_id": 1,
"from_warehouse_name": "ALMACÉN CENTRAL HUACHIPA",
"to_warehouse_id": 2,
"to_warehouse_name": "ALMACÉN SUCURSAL NORTE",
"status": "COMPLETED",
"total_items": 3,
"total_quantity": 450.0,
"transfer_date": "2026-10-08",
"created_at": "2026-10-08T09:30:00.000Z"
}
]
}
GET /v1/inventory/transactions/stock-transfers/850?companyId=1
Create and execute a stock transfer between warehouses.
POST /v1/inventory/transactions/stock-transfers?companyId=1
Content-Type: application/json
{
"from_warehouse_id": 1,
"to_warehouse_id": 2,
"comment": "Reabastecimiento de stock de fin de semana",
"lines": [
{
"product_id": 1042,
"unit_id": 2,
"quantity": 100.0
},
{
"product_id": 1045,
"unit_id": 1,
"quantity": 350.0
}
]
}
201 Created{
"success": true,
"message": "Transferencia de stock registrada correctamente",
"data": {
"id": 851,
"transfer_number": "TR-2026-00851",
"status": "COMPLETED"
}
}
goods-movements)Retrieve entries, exits, and adjustments.
GET /v1/inventory/transactions/goods-movements/list?companyId=1
200 OK{
"success": true,
"data": [
{
"id": 312,
"company_id": 1,
"movement_number": "GM-2026-00312",
"warehouse_id": 1,
"movement_type": "ISSUE",
"reason": "MERMA_TRANSPORTE",
"total_items": 1,
"created_at": "2026-10-08T15:00:00.000Z"
}
]
}
GET /v1/inventory/transactions/goods-movements/312?companyId=1
POST /v1/inventory/transactions/goods-movements?companyId=1
Content-Type: application/json
{
"warehouse_id": 1,
"movement_type": "ENTRY",
"reason": "AJUSTE_INVENTARIO_FISICO",
"comment": "Sobrante verificado en conteo cíclico mensual",
"lines": [
{
"product_id": 1042,
"quantity": 12.0,
"cost": 32.50
}
]
}
201 Created{
"success": true,
"message": "Movimiento de almacén registrado correctamente",
"data": {
"id": 313,
"movement_number": "GM-2026-00313",
"movement_type": "ENTRY"
}
}