Skip to navigation

Update Container

Update Container.

Authentication

AuthorizationBearer

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

Path parameters

container_idstringRequired
ID of the Container.

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.

checkoutRecordobjectOptional
namestringOptional
parentStorageIdstring or nullOptional
projectIdstring or nullOptional
quantityobjectOptional
Quantity of a container, well, or transfer. Supports mass, volume, and other quantities.
restrictedSamplePartyIdslist of stringsOptional

API IDs of the restricted sample parties (a party is a Benchling user, Organization, or Team). Limited to 100 items.

restrictionStatusenumOptional
Allowed values:
roleobject or nullOptional
sampleOwnerIdslist of stringsOptional

API IDs of the sample owners (an owner is a Benchling user, Organization, or Team). Limited to 100 items.

schemaFieldsmap from strings to objectsOptional
shouldRemoveBarcodesbooleanOptional
Whether to remove the barcode of the container. Only allowed when archiving the container.

Response

OK
__typenamestringOptional
archiveReasonstring or nullOptional
archivedbooleanOptional
barcodestring or nullOptional
checkoutRecordobjectOptional

Tracks the checkout status of an inventory item such as a Container. When laboratory samples need to be temporarily removed from storage (e.g., for an experiment), users can check them out, optionally adding a comment and assigning responsibility to a user or team (see Assignee). The record captures when the status was last modified. This enables sample tracking workflows and prevents conflicts when multiple users need access to the same samples.

contentslist of objectsOptional
coordinatesobject or nullOptional
Coordinates of the container within its contained grid, if it is contained within a grid.
createdAtstringOptionalformat: "datetime"
expirationInfoobjectOptional
Expiration info for the container.
idstringOptional
modifiedAtstringOptionalformat: "datetime"
namestringOptional
parentStorageobject or nullOptional

A union of inventory item types that can serve as parent storage for containers.

A Box stores containers in a grid layout. A MatrixPlate places containers into grid positions much like a Box, while a WellPlate's wells are themselves modeled as containers that are permanently part of the plate structure. A Location represents hierarchical storage such as freezers, shelves, or rooms.

This union enables the parentStorage field on Container to reference any valid storage parent.

parentStorageSchemaobject or nullOptional

A union of schema types corresponding to storage items. Each storage type (Box, WellPlate, MatrixPlate, Location) has an associated schema that defines its structure and metadata. This union is used to reference the schema of a container’s parent storage.

projectobject or nullOptional
quantityobject or nullOptional
Quantity of a container, well, or transfer. Supports mass, volume, and other quantities.
roleobject or nullOptional

Represents the complete experimental designation of a well or container within an assay, combining a primary role (see PrimaryExperimentalRole), replicate group number, and optional subrole. The group field identifies replicate sets: wells with the same primary role and group number are treated as technical replicates for statistical analysis. The subrole field provides additional categorization for controls (e.g., POSITIVE, NEGATIVE, MAXIMUM, MINIMUM); only CONTROL primary roles may have subroles. ExperimentalRole is used in plate-based workflows to define experimental layouts (see PlateMapPosition) and annotate wells in FixedPlate and Container objects.

schemaobjectOptional
creatorobjectOptional
schemaFieldslist of objects or nullOptional
testOrdersstring or nullOptionalformat: "uri"
All test orders associated with the container.
gridNumberdouble or nullOptionalDeprecated
Please use coordinates.index
gridPositionstring or nullOptionalDeprecated
Please use coordinates.position

Errors

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