Skip to navigation

Update Location

Update Location.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

location_idstringRequired
ID of the Location.

Request

This endpoint expects an object.
archiveReasonstringOptional

Why it is being archived. Required when archived is true, and not allowed when unarchiving.

archivedbooleanOptional

Set to true to archive or false to unarchive it. Archiving requires archiveReason.

barcodestringOptional
namestringOptional
parentStorageIdstring or nullOptional
schemaFieldsmap from strings to objectsOptional
shouldRemoveBarcodesbooleanOptional

Whether to remove the barcodes of the location and of every storable archived with it. Only allowed when archiving the location, and can’t be combined with barcode. Locations can contain each other, so every location archived in one request must use the same value; an unset value counts as false.

Response

OK
__typenamestringOptional
allowNonLocationChildrenbooleanOptional
Whether this location can store plates, boxes, and containers.
allowedInventorySchemaslist of objectsOptional
The plate, box, and container schemas that can be stored in this location. If allowsNonLocationChildren is true and this list is empty, all schemas are allowed.
archiveReasonstring or nullOptional
archivedbooleanOptional
availableCapacityinteger or nullOptional
The number of available positions in this location. Null if totalCapacity is not set.
barcodestring or nullOptional
createdAtstring or nullOptionalformat: "datetime"
idstringOptional
modifiedAtstring or nullOptionalformat: "datetime"
namestring or nullOptional
occupiedCapacityinteger or nullOptional
The number of plates, boxes, and containers currently in this location. Null if totalCapacity is not set.
parentStorageobject or nullOptional
schemaobject or nullOptional
totalCapacityinteger or nullOptional

The total capacity of this location (i.e. how many plates, boxes, and containers it can store). If null, capacity is not limited.

validationStatusenumOptional
Whether this location is passing all validation checks.
Allowed values:
creatorobject or nullOptional
schemaFieldslist of objects or nullOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error