---
title: "Update a customer by ID"
method: PUT
path: "/api/v1/admin/customers/{customerId}"
tags: ["Customers", "Admin"]
---

# Update a customer by ID

`PUT /api/v1/admin/customers/{customerId}`

Update a customer by ID

## Path parameters

- `customerId` string, uuid, required — The unique identifier of the customer

## Request body

- CustomerInput — Customer creation/update input
  - `name` string, required — Customer's full name
  - `email` string, email, required — Customer's email address
  - `phone_number` string, required — Customer's phone number in E.164 format

## Response `200`

Success

- CustomerResponse
  - `success` boolean, required — Indicates if the request was successful
  - `data` union, required — Customer information
    - object
      - `id` string, uuid — Customer's unique identifier
      - `name` string — Customer's full name
      - `email` string, email, required — Customer's email address
      - `phone_number` string — Customer's phone number in E.164 format
      - `created_at` string, date-time — Timestamp when the customer was created
      - `updated_at` string, date-time — Timestamp when the customer was last updated
    - object
      - `id` string, uuid — Customer's unique identifier
      - `name` string — Customer's full name
      - `email` string, email — Customer's email address
      - `phone_number` string, required — Customer's phone number in E.164 format
      - `created_at` string, date-time — Timestamp when the customer was created
      - `updated_at` string, date-time — Timestamp when the customer was last updated

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

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