---
search:
  tags:
    - Variants
    - POST
seo:
  description: >-
    Updates multiple existing variants in a single request (does… Reference for
    the POST /products/{product_id}/variants/updaters endpoint in the Bolder API
    v2.
sidebar:
  label: Batch update variants
  badge: POST
title: Batch update variants
type: openapi-operation
---
Updates multiple **existing** variants in a single request (does not create new variants). Each entry in `batch` must include `id` (numeric variant ID or SKU) to match an existing variant; unmatched IDs are silently skipped. Stock fields use `available_units`/`total_units` (`units` is deprecated but still accepted).

`POST /products/{product_id}/variants/updaters`

**Request body** (`application/json`, required)

- `batch` (object[], required)

Request body example:

```json
{
  "batch": [
    {
      "id": "201",
      "title": "Small",
      "regular_price": 7999
    },
    {
      "id": "202",
      "title": "Large",
      "regular_price": 8999
    }
  ]
}
```

**Responses**

- `201` — Variants processed

Response example, 201:

```json
{
  "_embedded": {
    "valid_items": [
      {
        "id": 0,
        "title": "string"
      }
    ],
    "invalid_items": [
      {
        "id": 0,
        "title": "string"
      }
    ]
  }
}
```
