---
title: "PUT /v1/customer"
method: PUT
path: "/v1/customer"
tags: ["Customer"]
---

# PUT /v1/customer

`PUT /v1/customer`

## Query parameters

- `subscriberCustomerId` string
- `externalUserId` string

## Request body

- CustomerInitDTO
  - `firstName` string — The first name of the customer
  - `lastName` string — The last name of the customer
  - `email` string, email — The email of the customer
  - `phoneNumber` string — The phone number of the customer (in international / E.164 format)
  - `displayName` string — The display name of the customer
  - `remoteId` string — The id of the customer in the ticketing system. For the SDK this needs to be stable and unique
  - `subscriberCustomerId` string — The id of the customer in your own primary database or a unique identifier, for example a cookie
  - `subscriberToken` string — A token that can be used to authenticate the customer in the your system, like a JWT
  - `avatarUrl` string — The URL of the customer avatar

## Response `200`

Customers updated successfully

- CustomerResponseDTO[]
  - `firstName` string — The first name of the customer
  - `lastName` string — The last name of the customer
  - `email` string, email — The email of the customer
  - `phoneNumber` string — The phone number of the customer (in international / E.164 format)
  - `displayName` string — The display name of the customer
  - `remoteId` string — The id of the customer in the ticketing system. For the SDK this needs to be stable and unique
  - `subscriberCustomerId` string — The id of the customer in your own primary database or a unique identifier, for example a cookie
  - `subscriberToken` string — A token that can be used to authenticate the customer in the your system, like a JWT
  - `avatarUrl` string — The URL of the customer avatar
  - `id` string, uuid, required — The id of the customer in the subscriber system
  - `externalUserId` string — The messaging-platform user id of the customer (e.g. the WhatsApp BSUID). Not a phone number.
  - `createdAt` string, date-time, required — The timestamp of the when the customer was created in our system

## Other responses

- `400` — Must provide exactly one of: subscriberCustomerId, externalUserId

---

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