---
title: "Update Customer"
method: PATCH
path: "/v1/customers/{customer_id}"
---

# Update Customer

`PATCH /v1/customers/{customer_id}`

This endpoint allows you to update a customer's details.

## Path parameters

- `customer_id` string, required

## Headers

- `X-BUSINESS-API-KEY` string, required

## Request body

- object
  - `name` string — The name of the customer
  - `email` string — The email of the customer
  - `phone_number` string — The phone number of the customer
  - `phone_number_country_code` string — The country code of the phone number
  - `remark` string — The remark of the customer
  - `birth_date` string, date — The birth date of the customer
  - `gender` string — The gender of the customer
  - `address` object
    - `city` string, required
    - `state` string, required
    - `street` string, required
    - `postal_code` string, required
    - `country` string

## Response `200`

200

- object
  - `id` string, required
  - `name` string, required
  - `birth_date` string, required
  - `email` string, required
  - `phone_number` string, required
  - `address` object, required
    - `city` string, required
    - `state` string, required
    - `street` string, required
    - `postal_code` string, required
    - `country` string
  - `gender` string, required
  - `remark` string, required
  - `phone_number_country_code` string, required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `404` — 404

---

[API](https://skmtc.net/hitpayapp/apis/hitpay-api.md) · [All operations](https://skmtc.net/hitpayapp/apis/hitpay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hitpayapp/hitpay-api/versions/6aae1a736990/schema)
