---
title: "Update multiple customers"
method: POST
path: "/businesses/{id}/customers/batch_update"
tags: ["Customers"]
---

# Update multiple customers

`POST /businesses/{id}/customers/batch_update`

## Path parameters

- `id` string, required

## Request body

- object
  - `customers` object[], required — An array of customer data to update. Must identify every customer with their ID
    - `id` string, required — The ID of the customer
    - `phone_number` string, nullable — The updated phone number of the customer
    - `email_address` string, nullable — The updated email address of the customer
    - `metadata` object, nullable — The updated metadata of the customer
    - `full_name` string, nullable — The updated full name of the customer

## Response `200`

An array of updated `Customer` objects

- object
  - `customers` Customer[], required — An array of updated `Customer` objects
    - `id` string, required — The ID of the customer
    - `external_id` string, nullable, required — The external ID of the customer
    - `email_address` string, nullable, required — The email address of the customer
    - `phone_number` string, nullable, required — The phone number of the customer
    - `full_name` string, nullable, required — The full name of the customer
    - `metadata` object, required — The metadata associated with this customer
    - `unsubscribed` 'future' | 'campaign', nullable, required — The unsubscribe status of the customer

---

[API](https://skmtc.dev/pocketflows/apis/pocketflows-api.md) · [All operations](https://skmtc.dev/pocketflows/apis/pocketflows-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pocketflows/pocketflows-api/revisions/26723490b96f/schema)
