---
title: "Batch shelf operation"
method: POST
path: "/reader/books/batch/shelf"
tags: ["Reader"]
---

# Batch shelf operation

`POST /reader/books/batch/shelf`

Add or remove multiple books from a shelf

## Request body

- object
  - `action` string
  - `book_ids` string[]
  - `shelf_id` integer

## Response `200`

OK

- object
  - `data` object
    - `updated` integer

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/lxpio/apis/omnigram-api.md) · [All operations](https://skmtc.net/lxpio/apis/omnigram-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lxpio/omnigram-api/revisions/58911ffb3093/schema)
