Get Storage
Returns the details of a single storage.
Required license
This endpoint requires the Stock management add-on.
Request
GET /api/oauth/v2/resource/wares/storages/{uuid}
Header
| Header | Value |
|---|---|
Authorization | Bearer {access_token} |
URL parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
uuid | string (UUID) | Yes | Unique ID of the storage |
Response
Success (200 OK)
json
{
"data": {
"id": "f6a7b8c9-d0e1-2345-fabc-345678901234",
"name": "Hauptlager",
"description": "Zentrallager im Erdgeschoß",
"color": "#00adba",
"sort": 0,
"deleted": false
}
}Note: A deleted storage still returns
200—deletedistruethen.
Response fields
See List Storages 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/storages/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 | Storage not found |