Get Stock Movement
Returns the details of a single stock movement.
Required license
This endpoint requires the Stock management add-on.
Request
GET /api/oauth/v2/resource/wares/movements/{uuid}
Header
| Header | Value |
|---|---|
Authorization | Bearer {access_token} |
URL parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
uuid | string (UUID) | Yes | Unique ID of the stock movement |
Response
Success (200 OK)
json
{
"data": {
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"date": "2026-08-20T09:14:00+02:00",
"type": "out_invoice",
"customTypeName": null,
"direction": "out",
"amount": -2,
"stockOld": 26,
"stockNew": 24,
"notice": null,
"ware": "c3d4e5f6-a7b8-9012-cdef-012345678901",
"consumer": null,
"createdBy": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}Response fields
See List Stock Movements for the full field reference — the data object here has the same fields as one entry of data[] there.
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/wares/movements/b2c3d4e5-f6a7-8901-bcde-f01234567890" \
-H "Authorization: Bearer {access_token}"Parameter
Zuerst Token anfordern
Possible errors
| Status | Code | Description |
|---|---|---|
| 401 | invalid_client | Invalid or missing access token |
| 403 | insufficient_scope | Scope wares not present, or Stock management add-on not licensed |
| 404 | not_found | Movement not found, or not permitted for the related ware |