---
title: "Update a customer"
method: PUT
path: "/customers/{id}"
tags: ["Customer"]
---

# Update a customer

`PUT /customers/{id}`

Update a customer.

## Path parameters

- `id` string, required — ID of the customer.

## Headers

- `X-Trace-Id` string

## Request body

- CustomerUpdateIn
  - `address` Address — Customer address information.
    - `city` string, required — The name of the city.
    - `country` string, required — ISO2 country code
    - `line1` string, required — The first line of the Customer's address.
    - `line2` string — The second line of the Customer's address.
    - `postal_code` string, required
    - `state` string, required — The state or region.
  - `meta` Meta
  - `name` Name — The Customer's full name.
    - `first` string — The Customer's first name.
    - `middle` string — The Customer's middle name.
    - `last` string — The Customer's last name.
  - `phone` Phone — The customer's mobile number.
    - `country_code` string, required — The dialling country code e.g. 234 for NG.
    - `number` string, required — Unformatted 7-10-digit phone number without the country code.

## Response `200`

OK

- object
  - `status` 'success' | 'failed'
  - `message` string
  - `data` Customer
    - `id` string — ID of the customer.
    - `address` Address — Customer address information.
      - `city` string, required — The name of the city.
      - `country` string, required — ISO2 country code
      - `line1` string, required — The first line of the Customer's address.
      - `line2` string — The second line of the Customer's address.
      - `postal_code` string, required
      - `state` string, required — The state or region.
    - `email` string — The Customer's email address.
    - `name` Name — The Customer's full name.
      - `first` string — The Customer's first name.
      - `middle` string — The Customer's middle name.
      - `last` string — The Customer's last name.
    - `phone` Phone — The customer's mobile number.
      - `country_code` string, required — The dialling country code e.g. 234 for NG.
      - `number` string, required — Unformatted 7-10-digit phone number without the country code.
    - `meta` Meta
    - `created_datetime` string, date-time

## Other responses

- `400` — Bad request
- `401` — Unauthorised request
- `403` — Forbidden

---

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