# StorageArea

Lagerbereiche

## GET /erp/storage-areas/{id}

> Find an existing Resource by identifier

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.14.3"},"tags":[{"name":"StorageArea","description":"Lagerbereiche"}],"servers":[{"url":"http://localhost:52177/api","description":"Generated server url"}],"paths":{"/erp/storage-areas/{id}":{"get":{"tags":["StorageArea"],"summary":"Find an existing Resource by identifier","operationId":"getById_16","parameters":[{"name":"id","in":"path","description":"an identifier","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-stock-StorageArea"}}}},"404":{"description":"Resource with given ID was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-error-ApiError"}}}}}}}},"components":{"schemas":{"erp-stock-StorageArea":{"description":"Lagerbereich","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"storageId":{"type":"integer","format":"int64","description":"Storage-ID"},"label":{"type":"string","description":"Kurzbezeichnung"},"description":{"type":"string","description":"Beschreibung"}},"required":["label","storageId"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-error-ApiError":{"properties":{"instance":{"type":"string","description":"the resource that produced the error","readOnly":true},"trackingId":{"type":"string","description":"Internal tracking number for this Error","readOnly":true},"timeOfOccurence":{"type":"string","format":"date-time","description":"Internal timestamp, when this error happened","readOnly":true},"errors":{"$ref":"#/components/schemas/core-error-ApiError.Errors"},"decisions":{"type":"array","description":"all decisions, we need to take care of","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision"},"readOnly":true,"uniqueItems":true},"httpStatus":{"type":"integer","format":"int32","description":"HTTP-Status code"},"debug-info-url":{"type":"string","format":"uri","description":"optional url to get a more detailed stack trace","readOnly":true}},"required":["decisions","errors","instance","timeOfOccurence","trackingId"]},"core-error-ApiError.Errors":{"description":"all occured errors","properties":{"fieldErrors":{"type":"object","additionalProperties":{"type":"array","description":"One or more validation errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true},"description":"One or more validation errors","readOnly":true},"services":{"type":"array","description":"One or more generel service errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true}},"readOnly":true,"required":["fieldErrors","services"]},"core-error-ApiErrorDetail":{"description":"One or more generel service errors","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"property":{"type":"string","description":"property that has a constraint violation  (optional)"}},"readOnly":true},"core-api-LocalizeableMessage":{"description":"localizeable message","properties":{"messageCode":{"type":"string","description":"Internal unique identifier/key for this message"},"messageParameters":{"type":"object","additionalProperties":{"type":"object","description":"list of parameters to fill a formattable message"},"description":"list of parameters to fill a formattable message"},"formattedMessage":{"type":"string","description":"formatted message (default language)"}}},"core-error-ApiErrorDecision":{"description":"all decisions, we need to take care of","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"title":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"multipleAnswersAllowed":{"type":"boolean","default":false,"description":"true, if an array of answers is required","readOnly":true},"textInput":{"type":"boolean","default":false,"description":"true, if text input instead of decisions is required","readOnly":true},"options":{"type":"array","description":"possible options for this decision","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOption"},"readOnly":true},"answerProperty":{"type":"string","description":"property to fill the decision into","readOnly":true},"answerPropertyType":{"type":"string","description":"type of the target property","enum":["FIELD","PARAMETER"],"readOnly":true},"searchDialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"}},"readOnly":true},"core-error-ApiErrorDecision.DecisionOption":{"description":"possible options for this decision","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"value":{"type":"string","description":"value for this decision","readOnly":true},"defaultOption":{"type":"boolean","default":false,"description":"default option","readOnly":true},"searchDialogs":{"type":"array","description":"Zu verwendende Search-Dialogs","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOptionSearchDialog"},"readOnly":true}}},"core-error-ApiErrorDecision.DecisionOptionSearchDialog":{"description":"Zu verwendende Search-Dialogs","properties":{"dialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"answerKey":{"type":"string","description":"Schlüssel für das Ergebnis vom Search-Dialog","readOnly":true}}},"unknownservice-unknownmodule-JsonNode":{"description":"Search-Dialog"}}}}
```

## PUT /erp/storage-areas/{id}

> Update existing Resource&#x20;

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.14.3"},"tags":[{"name":"StorageArea","description":"Lagerbereiche"}],"servers":[{"url":"http://localhost:52177/api","description":"Generated server url"}],"paths":{"/erp/storage-areas/{id}":{"put":{"tags":["StorageArea"],"summary":"Update existing Resource ","operationId":"update_15","parameters":[{"name":"id","in":"path","description":"an identifier","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-stock-StorageArea"}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-stock-StorageArea"}}}},"404":{"description":"Resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-error-ApiError"}}}},"422":{"description":"Resource was not valid to process","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-error-ApiError"}}}}}}}},"components":{"schemas":{"erp-stock-StorageArea":{"description":"Lagerbereich","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"storageId":{"type":"integer","format":"int64","description":"Storage-ID"},"label":{"type":"string","description":"Kurzbezeichnung"},"description":{"type":"string","description":"Beschreibung"}},"required":["label","storageId"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-error-ApiError":{"properties":{"instance":{"type":"string","description":"the resource that produced the error","readOnly":true},"trackingId":{"type":"string","description":"Internal tracking number for this Error","readOnly":true},"timeOfOccurence":{"type":"string","format":"date-time","description":"Internal timestamp, when this error happened","readOnly":true},"errors":{"$ref":"#/components/schemas/core-error-ApiError.Errors"},"decisions":{"type":"array","description":"all decisions, we need to take care of","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision"},"readOnly":true,"uniqueItems":true},"httpStatus":{"type":"integer","format":"int32","description":"HTTP-Status code"},"debug-info-url":{"type":"string","format":"uri","description":"optional url to get a more detailed stack trace","readOnly":true}},"required":["decisions","errors","instance","timeOfOccurence","trackingId"]},"core-error-ApiError.Errors":{"description":"all occured errors","properties":{"fieldErrors":{"type":"object","additionalProperties":{"type":"array","description":"One or more validation errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true},"description":"One or more validation errors","readOnly":true},"services":{"type":"array","description":"One or more generel service errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true}},"readOnly":true,"required":["fieldErrors","services"]},"core-error-ApiErrorDetail":{"description":"One or more generel service errors","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"property":{"type":"string","description":"property that has a constraint violation  (optional)"}},"readOnly":true},"core-api-LocalizeableMessage":{"description":"localizeable message","properties":{"messageCode":{"type":"string","description":"Internal unique identifier/key for this message"},"messageParameters":{"type":"object","additionalProperties":{"type":"object","description":"list of parameters to fill a formattable message"},"description":"list of parameters to fill a formattable message"},"formattedMessage":{"type":"string","description":"formatted message (default language)"}}},"core-error-ApiErrorDecision":{"description":"all decisions, we need to take care of","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"title":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"multipleAnswersAllowed":{"type":"boolean","default":false,"description":"true, if an array of answers is required","readOnly":true},"textInput":{"type":"boolean","default":false,"description":"true, if text input instead of decisions is required","readOnly":true},"options":{"type":"array","description":"possible options for this decision","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOption"},"readOnly":true},"answerProperty":{"type":"string","description":"property to fill the decision into","readOnly":true},"answerPropertyType":{"type":"string","description":"type of the target property","enum":["FIELD","PARAMETER"],"readOnly":true},"searchDialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"}},"readOnly":true},"core-error-ApiErrorDecision.DecisionOption":{"description":"possible options for this decision","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"value":{"type":"string","description":"value for this decision","readOnly":true},"defaultOption":{"type":"boolean","default":false,"description":"default option","readOnly":true},"searchDialogs":{"type":"array","description":"Zu verwendende Search-Dialogs","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOptionSearchDialog"},"readOnly":true}}},"core-error-ApiErrorDecision.DecisionOptionSearchDialog":{"description":"Zu verwendende Search-Dialogs","properties":{"dialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"answerKey":{"type":"string","description":"Schlüssel für das Ergebnis vom Search-Dialog","readOnly":true}}},"unknownservice-unknownmodule-JsonNode":{"description":"Search-Dialog"}}}}
```

## DELETE /erp/storage-areas/{id}

> Delete an existing Resource

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.14.3"},"tags":[{"name":"StorageArea","description":"Lagerbereiche"}],"servers":[{"url":"http://localhost:52177/api","description":"Generated server url"}],"paths":{"/erp/storage-areas/{id}":{"delete":{"tags":["StorageArea"],"summary":"Delete an existing Resource","operationId":"delete_13","parameters":[{"name":"id","in":"path","description":"an identifier","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-api-OperationMessage"}}}},"404":{"description":"Resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-error-ApiError"}}}},"409":{"description":"unable to delete Resource, due to constraints, existing references or internal state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-api-OperationMessage"}}}}}}}},"components":{"schemas":{"core-api-OperationMessage":{"properties":{"context":{"type":"string","description":"message context"},"messageValue":{"type":"string","description":" message"}}},"core-error-ApiError":{"properties":{"instance":{"type":"string","description":"the resource that produced the error","readOnly":true},"trackingId":{"type":"string","description":"Internal tracking number for this Error","readOnly":true},"timeOfOccurence":{"type":"string","format":"date-time","description":"Internal timestamp, when this error happened","readOnly":true},"errors":{"$ref":"#/components/schemas/core-error-ApiError.Errors"},"decisions":{"type":"array","description":"all decisions, we need to take care of","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision"},"readOnly":true,"uniqueItems":true},"httpStatus":{"type":"integer","format":"int32","description":"HTTP-Status code"},"debug-info-url":{"type":"string","format":"uri","description":"optional url to get a more detailed stack trace","readOnly":true}},"required":["decisions","errors","instance","timeOfOccurence","trackingId"]},"core-error-ApiError.Errors":{"description":"all occured errors","properties":{"fieldErrors":{"type":"object","additionalProperties":{"type":"array","description":"One or more validation errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true},"description":"One or more validation errors","readOnly":true},"services":{"type":"array","description":"One or more generel service errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true}},"readOnly":true,"required":["fieldErrors","services"]},"core-error-ApiErrorDetail":{"description":"One or more generel service errors","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"property":{"type":"string","description":"property that has a constraint violation  (optional)"}},"readOnly":true},"core-api-LocalizeableMessage":{"description":"localizeable message","properties":{"messageCode":{"type":"string","description":"Internal unique identifier/key for this message"},"messageParameters":{"type":"object","additionalProperties":{"type":"object","description":"list of parameters to fill a formattable message"},"description":"list of parameters to fill a formattable message"},"formattedMessage":{"type":"string","description":"formatted message (default language)"}}},"core-error-ApiErrorDecision":{"description":"all decisions, we need to take care of","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"title":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"multipleAnswersAllowed":{"type":"boolean","default":false,"description":"true, if an array of answers is required","readOnly":true},"textInput":{"type":"boolean","default":false,"description":"true, if text input instead of decisions is required","readOnly":true},"options":{"type":"array","description":"possible options for this decision","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOption"},"readOnly":true},"answerProperty":{"type":"string","description":"property to fill the decision into","readOnly":true},"answerPropertyType":{"type":"string","description":"type of the target property","enum":["FIELD","PARAMETER"],"readOnly":true},"searchDialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"}},"readOnly":true},"core-error-ApiErrorDecision.DecisionOption":{"description":"possible options for this decision","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"value":{"type":"string","description":"value for this decision","readOnly":true},"defaultOption":{"type":"boolean","default":false,"description":"default option","readOnly":true},"searchDialogs":{"type":"array","description":"Zu verwendende Search-Dialogs","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOptionSearchDialog"},"readOnly":true}}},"core-error-ApiErrorDecision.DecisionOptionSearchDialog":{"description":"Zu verwendende Search-Dialogs","properties":{"dialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"answerKey":{"type":"string","description":"Schlüssel für das Ergebnis vom Search-Dialog","readOnly":true}}},"unknownservice-unknownmodule-JsonNode":{"description":"Search-Dialog"}}}}
```

## POST /erp/storage-areas

> Create new Resource

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.14.3"},"tags":[{"name":"StorageArea","description":"Lagerbereiche"}],"servers":[{"url":"http://localhost:52177/api","description":"Generated server url"}],"paths":{"/erp/storage-areas":{"post":{"tags":["StorageArea"],"summary":"Create new Resource","operationId":"create_14","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-stock-StorageArea"}}},"required":true},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-stock-StorageArea"}}}},"422":{"description":"Resource was not valid to process","content":{"application/json":{"schema":{"$ref":"#/components/schemas/core-error-ApiError"}}}}}}}},"components":{"schemas":{"erp-stock-StorageArea":{"description":"Lagerbereich","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"storageId":{"type":"integer","format":"int64","description":"Storage-ID"},"label":{"type":"string","description":"Kurzbezeichnung"},"description":{"type":"string","description":"Beschreibung"}},"required":["label","storageId"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-error-ApiError":{"properties":{"instance":{"type":"string","description":"the resource that produced the error","readOnly":true},"trackingId":{"type":"string","description":"Internal tracking number for this Error","readOnly":true},"timeOfOccurence":{"type":"string","format":"date-time","description":"Internal timestamp, when this error happened","readOnly":true},"errors":{"$ref":"#/components/schemas/core-error-ApiError.Errors"},"decisions":{"type":"array","description":"all decisions, we need to take care of","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision"},"readOnly":true,"uniqueItems":true},"httpStatus":{"type":"integer","format":"int32","description":"HTTP-Status code"},"debug-info-url":{"type":"string","format":"uri","description":"optional url to get a more detailed stack trace","readOnly":true}},"required":["decisions","errors","instance","timeOfOccurence","trackingId"]},"core-error-ApiError.Errors":{"description":"all occured errors","properties":{"fieldErrors":{"type":"object","additionalProperties":{"type":"array","description":"One or more validation errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true},"description":"One or more validation errors","readOnly":true},"services":{"type":"array","description":"One or more generel service errors","items":{"$ref":"#/components/schemas/core-error-ApiErrorDetail"},"readOnly":true,"uniqueItems":true}},"readOnly":true,"required":["fieldErrors","services"]},"core-error-ApiErrorDetail":{"description":"One or more generel service errors","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"property":{"type":"string","description":"property that has a constraint violation  (optional)"}},"readOnly":true},"core-api-LocalizeableMessage":{"description":"localizeable message","properties":{"messageCode":{"type":"string","description":"Internal unique identifier/key for this message"},"messageParameters":{"type":"object","additionalProperties":{"type":"object","description":"list of parameters to fill a formattable message"},"description":"list of parameters to fill a formattable message"},"formattedMessage":{"type":"string","description":"formatted message (default language)"}}},"core-error-ApiErrorDecision":{"description":"all decisions, we need to take care of","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"title":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"multipleAnswersAllowed":{"type":"boolean","default":false,"description":"true, if an array of answers is required","readOnly":true},"textInput":{"type":"boolean","default":false,"description":"true, if text input instead of decisions is required","readOnly":true},"options":{"type":"array","description":"possible options for this decision","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOption"},"readOnly":true},"answerProperty":{"type":"string","description":"property to fill the decision into","readOnly":true},"answerPropertyType":{"type":"string","description":"type of the target property","enum":["FIELD","PARAMETER"],"readOnly":true},"searchDialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"}},"readOnly":true},"core-error-ApiErrorDecision.DecisionOption":{"description":"possible options for this decision","properties":{"message":{"$ref":"#/components/schemas/core-api-LocalizeableMessage"},"value":{"type":"string","description":"value for this decision","readOnly":true},"defaultOption":{"type":"boolean","default":false,"description":"default option","readOnly":true},"searchDialogs":{"type":"array","description":"Zu verwendende Search-Dialogs","items":{"$ref":"#/components/schemas/core-error-ApiErrorDecision.DecisionOptionSearchDialog"},"readOnly":true}}},"core-error-ApiErrorDecision.DecisionOptionSearchDialog":{"description":"Zu verwendende Search-Dialogs","properties":{"dialog":{"$ref":"#/components/schemas/unknownservice-unknownmodule-JsonNode"},"answerKey":{"type":"string","description":"Schlüssel für das Ergebnis vom Search-Dialog","readOnly":true}}},"unknownservice-unknownmodule-JsonNode":{"description":"Search-Dialog"}}}}
```

## GET /erp/storage-areas/{id}/bins

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.14.3"},"tags":[{"name":"StorageArea","description":"Lagerbereiche"}],"servers":[{"url":"http://localhost:52177/api","description":"Generated server url"}],"paths":{"/erp/storage-areas/{id}/bins":{"get":{"tags":["StorageArea"],"operationId":"getBinsInStorageArea","parameters":[{"name":"id","in":"path","description":"ID vom Lagerbereich","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/core-api-QueryPageableApi"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/erp-stock-StorageBin"}}}}}}}}},"components":{"schemas":{"core-api-QueryPageableApi":{"description":"Paging","properties":{"sort":{"type":"string","description":"Liste an Feldern zur Sortierung (komma-getrennt)"},"_start":{"type":"integer","format":"int32","description":"Start-Offset"},"_limit":{"type":"integer","format":"int32","description":"Ergebnis-Limit"},"_order":{"type":"string","description":"Sortierart der Felder (asc/desc, Liste, komma-getrennt)"}}},"erp-stock-StorageBin":{"description":"Lagerplatz","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"storageId":{"type":"string","description":"Lager, in dem sich der Lagerplatz befindet"},"level1":{"type":"string","description":"Ebene1","maxLength":40,"minLength":0},"level2":{"type":"string","description":"Ebene2","maxLength":40,"minLength":0},"level3":{"type":"string","description":"Ebene3","maxLength":40,"minLength":0},"level4":{"type":"string","description":"Ebene4","maxLength":40,"minLength":0},"level5":{"type":"string","description":"Ebene5","maxLength":40,"minLength":0},"level6":{"type":"string","description":"Ebene6","maxLength":40,"minLength":0},"identifier":{"type":"string","description":"Barcode"},"displayName":{"type":"string","description":"Anzeigename"},"description":{"type":"string","description":"Beschreibung"},"routePosition":{"type":"integer","format":"int32","description":"Laufwegposition"},"shelfSpace":{"type":"boolean","default":false,"description":"Normaler Regalplatz?"},"forIncomingGoods":{"type":"boolean","default":false,"description":"Für Wareneingang?"},"palletSpace":{"type":"boolean","default":false,"description":"Für Paletten/Nachschubmengen?"},"clarifySpace":{"type":"boolean","default":false,"description":"Zur Klärung?"},"forReturnedGoods":{"type":"boolean","default":false,"description":"Für Retouren?"},"useInAvailabilityDetermination":{"type":"boolean","default":false,"description":"Soll der Lagerplatz in der Ermittlung der verfügbaren Mengen beachtet werden?"},"state":{"type":"string","default":"ACTIVE","description":"Status eines Lagerplatzes","enum":["ACTIVE","INACTIVE","SUSPENDED","BLOCKED_FOR_INVENTORY"]},"maxAllowedWeight":{"type":"number","description":"Maximal zulässiges Gewicht"},"heightInCM":{"type":"number","description":"Höhe in CM"},"widthInCM":{"type":"number","description":"Breite in CM"},"depthInCM":{"type":"number","description":"Tiefe in CM"},"color":{"type":"string","description":"Farbe zur Anzeige","pattern":"^#[0-9A-Fa-f]{6}$"},"comment":{"type":"string","description":"Kommentar"},"storageAreaRef":{"$ref":"#/components/schemas/core-api-ApiObjectReference"}},"required":["displayName","storageId"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}},"core-api-ApiObjectReference":{"description":"Related account","properties":{"id":{"type":"string","description":"Identifier"},"label":{"type":"string","description":"a label","readOnly":true},"description":{"type":"string","description":"a short description","readOnly":true},"active":{"type":"boolean","description":"Activ","readOnly":true}},"required":["id"]}}}}
```

## POST /erp/storage-areas/{id}/bins

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.14.3"},"tags":[{"name":"StorageArea","description":"Lagerbereiche"}],"servers":[{"url":"http://localhost:52177/api","description":"Generated server url"}],"paths":{"/erp/storage-areas/{id}/bins":{"post":{"tags":["StorageArea"],"operationId":"addBinsToStorageArea","parameters":[{"name":"id","in":"path","description":"ID vom Lagerbereich","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-stock-StorageBinSelectionApi"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-stock-StorageArea"}}}}}}}},"components":{"schemas":{"erp-stock-StorageBinSelectionApi":{"description":"Selektionskriterien zur Ermittlung von Lagerplätzen","properties":{"pageable":{"$ref":"#/components/schemas/core-api-QueryPageableApi"},"storageId":{"type":"integer","format":"int64","description":"Lager zu dem ein Lagerplatz gehört"},"storageAreaId":{"type":"integer","format":"int64","description":"Lagerbereich zu dem ein Lagerplatz gehört"},"onlyWithoutStorageArea":{"type":"boolean","default":false,"description":"Nur Lagerplätze ohne Lagerbereich"},"defaultBin":{"type":"boolean","default":false,"description":"Standard-Lagerplatz eines Lagers (nur relevant für Lager ohne Lagerplätze"},"level1":{"type":"string","description":"Ebene1"},"level2":{"type":"string","description":"Ebene2"},"level3":{"type":"string","description":"Ebene3"},"level4":{"type":"string","description":"Ebene4"},"level5":{"type":"string","description":"Ebene5"},"level6":{"type":"string","description":"Ebene6"},"shelfSpace":{"type":"boolean","default":false,"description":"Normaler Regalplatz?"},"forIncomingGoods":{"type":"boolean","default":false,"description":"Für Wareneingang?"},"palletSpace":{"type":"boolean","default":false,"description":"Für Paletten/Nachschubmengen?"},"clarifySpace":{"type":"boolean","default":false,"description":"Zur Klärung?"},"forReturnedGoods":{"type":"boolean","default":false,"description":"Für Retouren?"},"useInAvailabilityDetermination":{"type":"boolean","default":false,"description":"Soll der Lagerplatz in der Ermittlung der verfügbaren Mengen beachtet werden?"},"state":{"type":"string","description":"Status eines Lagerplatzes","enum":["ACTIVE","INACTIVE","SUSPENDED","BLOCKED_FOR_INVENTORY"]},"maxAllowedWeight":{"$ref":"#/components/schemas/erp-stock-StorageBinSelectionApi.Range"},"heightInCM":{"$ref":"#/components/schemas/erp-stock-StorageBinSelectionApi.Range"},"widthInCM":{"$ref":"#/components/schemas/erp-stock-StorageBinSelectionApi.Range"},"depthInCM":{"$ref":"#/components/schemas/erp-stock-StorageBinSelectionApi.Range"}}},"core-api-QueryPageableApi":{"description":"Paging","properties":{"sort":{"type":"string","description":"Liste an Feldern zur Sortierung (komma-getrennt)"},"_start":{"type":"integer","format":"int32","description":"Start-Offset"},"_limit":{"type":"integer","format":"int32","description":"Ergebnis-Limit"},"_order":{"type":"string","description":"Sortierart der Felder (asc/desc, Liste, komma-getrennt)"}}},"erp-stock-StorageBinSelectionApi.Range":{"description":"Selektionsbereich von/bis","properties":{"from":{"type":"number"},"to":{"type":"number"}}},"erp-stock-StorageArea":{"description":"Lagerbereich","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"storageId":{"type":"integer","format":"int64","description":"Storage-ID"},"label":{"type":"string","description":"Kurzbezeichnung"},"description":{"type":"string","description":"Beschreibung"}},"required":["label","storageId"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}}}}}
```

## DELETE /erp/storage-areas/{id}/bins

>

```json
{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"2026.14.3"},"tags":[{"name":"StorageArea","description":"Lagerbereiche"}],"servers":[{"url":"http://localhost:52177/api","description":"Generated server url"}],"paths":{"/erp/storage-areas/{id}/bins":{"delete":{"tags":["StorageArea"],"operationId":"removeBinsFromStorageArea","parameters":[{"name":"id","in":"path","description":"ID vom Lagerbereich","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-stock-StorageBinSelectionApi"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/erp-stock-StorageArea"}}}}}}}},"components":{"schemas":{"erp-stock-StorageBinSelectionApi":{"description":"Selektionskriterien zur Ermittlung von Lagerplätzen","properties":{"pageable":{"$ref":"#/components/schemas/core-api-QueryPageableApi"},"storageId":{"type":"integer","format":"int64","description":"Lager zu dem ein Lagerplatz gehört"},"storageAreaId":{"type":"integer","format":"int64","description":"Lagerbereich zu dem ein Lagerplatz gehört"},"onlyWithoutStorageArea":{"type":"boolean","default":false,"description":"Nur Lagerplätze ohne Lagerbereich"},"defaultBin":{"type":"boolean","default":false,"description":"Standard-Lagerplatz eines Lagers (nur relevant für Lager ohne Lagerplätze"},"level1":{"type":"string","description":"Ebene1"},"level2":{"type":"string","description":"Ebene2"},"level3":{"type":"string","description":"Ebene3"},"level4":{"type":"string","description":"Ebene4"},"level5":{"type":"string","description":"Ebene5"},"level6":{"type":"string","description":"Ebene6"},"shelfSpace":{"type":"boolean","default":false,"description":"Normaler Regalplatz?"},"forIncomingGoods":{"type":"boolean","default":false,"description":"Für Wareneingang?"},"palletSpace":{"type":"boolean","default":false,"description":"Für Paletten/Nachschubmengen?"},"clarifySpace":{"type":"boolean","default":false,"description":"Zur Klärung?"},"forReturnedGoods":{"type":"boolean","default":false,"description":"Für Retouren?"},"useInAvailabilityDetermination":{"type":"boolean","default":false,"description":"Soll der Lagerplatz in der Ermittlung der verfügbaren Mengen beachtet werden?"},"state":{"type":"string","description":"Status eines Lagerplatzes","enum":["ACTIVE","INACTIVE","SUSPENDED","BLOCKED_FOR_INVENTORY"]},"maxAllowedWeight":{"$ref":"#/components/schemas/erp-stock-StorageBinSelectionApi.Range"},"heightInCM":{"$ref":"#/components/schemas/erp-stock-StorageBinSelectionApi.Range"},"widthInCM":{"$ref":"#/components/schemas/erp-stock-StorageBinSelectionApi.Range"},"depthInCM":{"$ref":"#/components/schemas/erp-stock-StorageBinSelectionApi.Range"}}},"core-api-QueryPageableApi":{"description":"Paging","properties":{"sort":{"type":"string","description":"Liste an Feldern zur Sortierung (komma-getrennt)"},"_start":{"type":"integer","format":"int32","description":"Start-Offset"},"_limit":{"type":"integer","format":"int32","description":"Ergebnis-Limit"},"_order":{"type":"string","description":"Sortierart der Felder (asc/desc, Liste, komma-getrennt)"}}},"erp-stock-StorageBinSelectionApi.Range":{"description":"Selektionsbereich von/bis","properties":{"from":{"type":"number"},"to":{"type":"number"}}},"erp-stock-StorageArea":{"description":"Lagerbereich","properties":{"version":{"type":"string","description":"Version Identifier for this Object (for PUT)"},"info":{"$ref":"#/components/schemas/core-api-MetaInfo"},"id":{"type":"string","description":"Unique identifier of the Object"},"storageId":{"type":"integer","format":"int64","description":"Storage-ID"},"label":{"type":"string","description":"Kurzbezeichnung"},"description":{"type":"string","description":"Beschreibung"}},"required":["label","storageId"]},"core-api-MetaInfo":{"description":"MetaInformations for this Object","properties":{"createdAt":{"type":"string","format":"date-time","description":"Created At Timestamp","readOnly":true},"createdFrom":{"type":"string","description":"TenantUser-Identifier of the creator","readOnly":true},"updatedAt":{"type":"string","format":"date-time","description":"Last Updated AT Timestamp","readOnly":true},"updatedFrom":{"type":"string","description":"TenantUser-Identifier of most recent updater","readOnly":true}}}}}}
```
