---
title: "Mass update customer status"
method: POST
path: "/customers/mass-update-status"
tags: ["Admin Customers"]
---

# Mass update customer status

`POST /customers/mass-update-status`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/customers/mass-update-status`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/customers/mass-update-status/post.ts> (a function with typed inputs; its response is checked against the schema)

Mass update customer status

## Request body

- object
  - `indices` integer[], required
  - `value` 0 | 1, required

## Response `200`

Mass-update result.

## Other responses

- `400`: Invalid input
- `422`: Missing indices or invalid value.

---

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