This endpoint confirms received quantities on stock transfer lines, triggering stock movement for confirmed lines.
https://easycms.fi/public_api/set_transfer_confirm/application/json
Authorization1: {API_TOKEN}username, password, account
| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | API username |
| password | string | Yes | API password |
| account | string | Yes | Account domain |
| id | integer | Yes | Stock transfer ID |
| transfer_line_id | integer | No | Specific line to confirm. If omitted, confirms ALL pending lines. |
| confirmed_by | string | No | Identifier of who confirmed. Defaults to "API_USER". |
200 (received)received_quantity — NOT the ordered quantity (report actual amounts via set_stock_transfer line field received_quantity, v3.16+)received_quantity <= 0Correcting a confirmed line (v3.16+): to change the quantity of an already-confirmed line, re-send the line to set_stock_transfer with the NEW received_quantity. The API reverses the previous confirmed stock movement, un-confirms the line and stages the new quantity — then call this endpoint again to apply the corrected amount. Never re-confirm a line whose quantity you have not verified.
{
"status": "success",
"message": "3 line(s) confirmed",
"data": {
"confirmed_count": 3,
"results": [
{
"success": true,
"transfer_line_id": 789,
"received_quantity": 25.0,
"confirmed_by": "API_USER",
"confirmed_at": "2026-04-30 14:30:00"
}
]
}
}
| HTTP Code | Error Code | Description |
|---|---|---|
| 400 | INVALID_STATUS | Stock transfer is not in received status |
| 404 | NOT_FOUND | Stock transfer not found |
| 400 | MISSING_REQUIRED_FIELDS | Missing id parameter |