---
title: "Update Customer"
method: PUT
path: "/api/v1/customers/{externalId}"
tags: ["Customer"]
---

# Update Customer

`PUT /api/v1/customers/{externalId}`

## Path parameters

- `externalId` string, required

## Request body

- object
  - `customer` object, required
    - `email` string
    - `name` string
    - `logoURL` string, nullable
    - `iconURL` string, nullable
    - `domain` string, nullable
    - `userId` string, nullable

## Response `200`

Successful response

- object
  - `customer` CustomerClientSelectSchema, required
    - `id` string, required
    - `createdAt` integer, required — Epoch milliseconds.
    - `updatedAt` integer, required — Epoch milliseconds.
    - `livemode` boolean, required
    - `organizationId` string, required
    - `email` string, required
    - `name` string, required
    - `invoiceNumberBase` string, nullable, required
    - `archived` boolean, required
    - `logoURL` string, nullable, required
    - `iconURL` string, nullable, required
    - `domain` string, nullable, required
    - `billingAddress` BillingAddress
      - `name` string, nullable
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `email` string, email, nullable
      - `address` object, required
        - `name` string, nullable
        - `line1` string, nullable
        - `line2` string, nullable
        - `city` string, nullable
        - `state` string, nullable
        - `postal_code` string, nullable
        - `country` string, required
      - `phone` string, nullable
    - `externalId` string, required
    - `userId` string, nullable, required
    - `pricingModelId` string, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `404` — Not found
- `500` — Internal server error

---

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