---
title: "Overwrite customer"
method: PUT
path: "/accounts/v2/customers/{customerId}"
tags: ["Customers"]
---

# Overwrite customer

`PUT /accounts/v2/customers/{customerId}`

Overwrite some customer information. This endpoint allows you to mark the customer on the account as active or inactive using the `is_active` field. This field is informative only. There are no restrictions that prevent inactive customers from performing any actions.

If `customer.is_active` = `true`, and the `Maximum number of card holders` program parameter is set, this customer is counted in the account's maximum number of card holders limit.

If the `customerId` parameter is not set, the server returns "Cannot get property `customerId` on null object". 

**Note:** If `social_name` and `nickname` are not passed, their values are overwritten as null. 

This endpoint generates a [Customer changed](https://developers.pismo.io/events/docs/account-customer-change-2) event.

## Path parameters

- `customerId` integer, required

## Request body

- OverwriteCustomerInformationRequest — Overwrite customer information request body
  - `customer` object
    - `printed_name` string — Printed name on physical card
    - `social_name` string — Social name.
    - `nickname` string — Nickname.
    - `is_active` boolean — Is customer active or not active? If `is_active` is null in this request, the Pismo platform doesn't overwrite the existing value.
    - `email` string, email — Email address.

## Response `200`

OK

## Other responses

- `400` — Bad request
- `404` — Customer {customerId} not found
- `500` — Internal server error

---

[API](https://skmtc.net/pismo/apis/platform-authentication.md) · [All operations](https://skmtc.net/pismo/apis/platform-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pismo/platform-authentication/revisions/935b62e16de4/schema)
