---
title: "Update customer"
method: PUT
path: "/{companyDomain}/customers/{customerUniqueId}"
---

# Update customer

`PUT /{companyDomain}/customers/{customerUniqueId}`

## Path parameters

- `companyDomain` string, required
- `customerUniqueId` string, required

## Request body

- object
  - `firstName` string, required — The customers first name
  - `lastName` string, required — The customers last name
  - `phoneNumberDialCountry` string — The customers phone number dial country (i.e. "UK")
  - `phoneNumberDialCode` string — The customer phone number dial code
  - `email` string, required — The email address we have on file for the customer
  - `phoneNumber` string — The phone number we have on file for the customer. Remove "0" from the start.
  - `billingAddress` object, required
    - `addressLine1` string
    - `addressLine2` string
    - `state` string — For US addresses, this must be the ISO two letter state code
    - `city` string
    - `country` string — The ISO three letter country code
    - `postCode` string

## Response `200`

200

- object
  - `customerId` string
  - `firstName` string
  - `lastName` string
  - `billingAddress` object
    - `addressLine1` string
    - `addressLine2` string
    - `state` string
    - `city` string
    - `country` string
    - `postCode` string
  - `email` string
  - `additionalEmail` string
  - `phoneNumberDialCountry` string
  - `phoneNumberDialCode` string
  - `phoneNumber` string
  - `isMarketingConsentGiven` boolean
  - `createdOn` string
  - `uniqueId` string

---

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