---
title: "Bulk Update mixtures"
method: POST
path: "/mixtures:bulk-update"
tags: ["mixtures"]
---

# Bulk Update mixtures

`POST /mixtures:bulk-update`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/mixtures:bulk-update`
- Auth: HTTP bearer

Update multiple mixtures.
To change the parent mixture on your specified mixtures, set the parent mixture field and specify the desired final state for your ingredients.
Benchling will recognize that any ingredients you specify that match ingredients on the parent mixtures (based on component entity) are inherited. This can be seen on the returned `ingredients[i].hasParent` attribute.

## Request body

- MixturesBulkUpdateRequest
  - `mixtures` MixtureBulkUpdate[]
    - `aliases` string[]: Aliases to add to the mixture
    - `amount` string: The positive numerical amount value of this mixture in string format (to preserve full precision). Pair with `units`. Supports scientific notation (1.23e4).
    - `authorIds` string[]: IDs of users to set as the mixture's authors.
    - `customFields` CustomFields
    - `entityRegistryId` string
    - `fields` Fields
    - `folderId` string: ID of the folder that the entity is moved into
    - `ingredients` IngredientWriteParams[]: Desired final state for the ingredients on this mixture. Each ingredient you specify will be matched with the existing ingredients on the mixture based on the component entity, and Benchling will create, update, or delete this mixture's ingredients so that the final state of this mixture's ingredients matches your request. Benchling will recognize that any ingredients you specify that match ingredients on the parent mixture (based on component entity) are inherited. This can be seen on the returned `ingredients[i].hasParent` attribute.
      - `amount` string, nullable, required: The amount value of this ingredient in its mixture, in string format (to preserve full precision). Pair with `units`. Supports scientific notation (1.23e4). One ingredient on this mixture can have an amount value of `"QS"`.
      - `catalogIdentifier` string, nullable, required
      - `componentEntityId` string, required: The entity that uniquely identifies this component.
      - `componentLotContainerId` string, nullable, required: The container representing the component lot for this ingredient. This is only writable if the mixture schema supports component lots in "inventory" format.
      - `componentLotEntityId` string, nullable, required: The entity representing the component lot for this ingredient. This is only writable if the mixture schema supports component lots in "inventory" format.
      - `componentLotText` string, nullable, required: Text representing the component lot for this ingredient. This is only writable if the mixture schema supports component lots in "text" format.
      - `notes` string, nullable, required
      - `units` 'nL' | 'uL' | 'mL' | 'L' | 'mg' | 'g' | 'kg' | 'ug' | 'Units' | 'Cells' | 'mol' | 'mmol' | 'umol', required
    - `name` string
    - `schemaId` string
    - `units` 'nL' | 'uL' | 'mL' | 'L' | 'g' | 'kg' | 'mg' | 'ug' | 'Units'
    - `id` string, required

## Response `202`

This endpoint launches a [long-running task](https://docs.benchling.com/docs/api/v2/benchling-api/tasks/get-task) and returns the Task ID of the launched task.
The task response contains the full list of mixtures that were updated.

- AsyncTaskLink
  - `taskId` string

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/benchling/apis/benchling-api-2.md) - [All operations](https://skmtc.dev/benchling/apis/benchling-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/benchling/apis/benchling-api-2/revisions/01d2fa8523cd?raw)
