---
title: "PATCH /app/customers/{customer_id}/"
method: PATCH
path: "/app/customers/{customer_id}/"
tags: ["app"]
---

# PATCH /app/customers/{customer_id}/

`PATCH /app/customers/{customer_id}/`

A simple ViewSet for viewing and editing Customers.

## Path parameters

- `customer_id` string, required — The id provided when creating the customer, we suggest matching with your internal customer id in your backend

## Request body

- PatchedCustomerUpdateRequest
  - `default_currency_code` string
  - `address` AddressRequest
    - `city` string, required — City, district, suburb, town, or village
    - `country` string, required — ISO 3166-1 alpha-2 country code
    - `line1` string, required — Address line 1 (e.g., street, PO Box, or company name)
    - `line2` string, nullable — Address line 2 (e.g., apartment, suite, unit, or building)
    - `postal_code` string, required — ZIP or postal code
    - `state` string, required — State, county, province, or region
  - `tax_rate` number, double, nullable — Tax rate as percentage. For example, 10.5 for 10.5%

## Response `200`

- CustomerUpdate
  - `default_currency_code` string, required
  - `address` Address
    - `city` string, required — City, district, suburb, town, or village
    - `country` string, required — ISO 3166-1 alpha-2 country code
    - `line1` string, required — Address line 1 (e.g., street, PO Box, or company name)
    - `line2` string, nullable — Address line 2 (e.g., apartment, suite, unit, or building)
    - `postal_code` string, required — ZIP or postal code
    - `state` string, required — State, county, province, or region
  - `tax_rate` number, double, nullable — Tax rate as percentage. For example, 10.5 for 10.5%

## Changes

- **2023-01-16** `36b48cae00a3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/uselotus/apis/lotus-api/changes/app/customers/:customer_id/patch.md)

---

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