---
title: "Add Battery Series"
method: POST
path: "/v1/battery_series/battery_bank/{battery_bank_id}"
tags: ["battery_banks"]
---

# Add Battery Series

`POST /v1/battery_series/battery_bank/{battery_bank_id}`

## Request

- Base URL: `https://api.shapemaker.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.shapemaker.io/v1/battery_series/battery_bank/{battery_bank_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth`

This endpoint adds battery series to a battery bank.

## Path parameters

- `battery_bank_id` integer, required

## Request body

- BatterySeriesCreateInput[]
  - `installationDate` string, date, required
  - `battery` BatteryIdInput, required
    - `id` integer, nullable, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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