---
title: "Update Customer"
method: PUT
path: "/v3/customer/"
---

# Update Customer

`PUT /v3/customer/`

This endpoint updates an already existing customer object

## Request body

- object
  - `phone` Phone — Phone contact details
    - `calling_code` string — Calling country code (for example, '1' for United States, '91' for India)
    - `number` string — Phone Number
  - `billing_address` object[] — Billing Details of the customer
    - `name` string — Name
    - `address` Address — Address details
      - `line1` string — Address Line 1
      - `line2` string — Address Line 2
      - `city` string — Address city
      - `state` string — Address state
      - `country` string — Address country (ISO 3166-1 alpha-2 country code)
      - `postal_code` string — Postal Code
    - `phone` Phone — Phone contact details
      - `calling_code` string — Calling country code (for example, '1' for United States, '91' for India)
      - `number` string — Phone Number
    - `label` string — Denotes the type of address (Example - home, work)
  - `shipping_address` object[] — Shipping Details of the customer
    - `name` string — Name
    - `address` Address — Address details
      - `line1` string — Address Line 1
      - `line2` string — Address Line 2
      - `city` string — Address city
      - `state` string — Address state
      - `country` string — Address country (ISO 3166-1 alpha-2 country code)
      - `postal_code` string — Postal Code
    - `phone` Phone — Phone contact details
      - `calling_code` string — Calling country code (for example, '1' for United States, '91' for India)
      - `number` string — Phone Number
    - `label` string — Denotes the type of address (Example - home, work)
  - `metadata` string, json — Set of key-value pairs that can be attached to the object (JSON string format)
  - `customer_id` string — Customer id for which details need to be updated.

## Response `200`

200

- object
  - `status` string
  - `message` string
  - `data` object
    - `message` string

---

[API](https://skmtc.net/tazapay/apis/sandbox.md) · [All operations](https://skmtc.net/tazapay/apis/sandbox/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tazapay/sandbox/versions/bf5f4b8f6f5d/schema)
