---
search:
  tags:
    - Customers
    - PUT
seo:
  description: >-
    Any signed in user. Patches a customer's name, phone, national id,…
    Reference for the PUT /api/v1/customers/{customerId} endpoint in the
    PharmaFlow API.
sidebar:
  label: Update a customer
  badge: PUT
title: Update a customer
type: openapi-operation
---
Any signed in user. Patches a customer's name, phone, national id, notes, or credit fields. An empty patch is refused with 400 and an unknown customer with 404; money stays strings.

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