---
title: "Update customer"
method: POST
path: "/customer/update"
tags: ["Customer"]
---

# Update customer

`POST /customer/update`

Use this BillingServ API endpoint to update customer. Review the response for the operation result or validation errors.

## Request body

- object
  - `id` integer, required
  - `name` string, required
  - `address_1` string, required
  - `address_2` string
  - `city` string, required
  - `county_id` integer, required
  - `country_id` integer, required
  - `postal_code` string, required
  - `phone` string, required
  - `fax` string
  - `username` string, email, required
  - `password` string, password
  - `website` string, uri
  - `credit` number
  - `business_name` string
  - `comment` string
  - `vat` integer

## Response `200`

OK

- ApiResponse
  - `success` boolean

## Other responses

- `401` — Missing or invalid API key
- `403` — Authenticated key does not have permission for this endpoint
- `404` — Customer not found or not accessible to this API account
- `422` — Validation error
- `500` — Customer update failed

---

[API](https://skmtc.net/b-cdn/apis/billingserv-api-v2.md) · [All operations](https://skmtc.net/b-cdn/apis/billingserv-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/b-cdn/billingserv-api-v2/revisions/76cfbed5eb40/schema)
