---
title: "Update a Customer"
method: POST
path: "/update/C"
tags: ["Customers"]
---

# Update a Customer

`POST /update/C`

Updates an existing customer.

## Request body

- object
  - `data` object, required
    - `attribute1` string, required
    - `attribute2` string, required
    - `typedId` string, required
  - `oldValues` object, required
    - `version` number, required
    - `typedId` string, required
    - `customerId` string, required
    - `name` string, required
    - `parentId` unknown
    - `userGroupEdit` unknown
    - `userGroupViewDetails` unknown
    - `nodeId` number, required
    - `createDate` string, required
    - `createdBy` number, required
    - `lastUpdateDate` string, required
    - `lastUpdateBy` number, required
    - `attribute1` string, required
    - `attribute2` string, required
    - `attribute3` unknown
    - `attribute4` unknown
    - `attribute5` unknown
    - `attribute6` unknown
    - `attribute7` unknown
    - `attribute8` unknown
    - `attribute9` unknown
    - `attribute10` unknown
    - `attribute11` unknown
    - `attribute12` unknown
    - `attribute13` unknown
    - `attribute14` unknown
    - `attribute15` unknown
    - `attribute16` unknown
    - `attribute17` unknown
    - `attribute18` unknown
    - `attribute19` unknown
    - `attribute20` unknown
    - `attribute21` unknown
    - `attribute22` unknown
    - `attribute23` unknown
    - `attribute24` unknown
    - `attribute25` unknown
    - `attribute26` unknown
    - `attribute27` unknown
    - `attribute28` unknown
    - `attribute29` unknown
    - `attribute30` unknown
    - `isParent` boolean, required
  - `operationType` string, required
  - `textMatchStyle` string, required

## Response `200`

Returns customer record details.

- object
  - `response` union
    - object
      - `node` string
      - `data` Customer[] — The `Customer` object. The Type code is C.
        - `createDate` string, date-time
        - `createdBy` integer
        - `customerId` string
        - `isParent` boolean, nullable
        - `lastUpdateBy` integer
        - `lastUpdateDate` string, date-time
        - `name` string
        - `nodeId` integer
        - `parentId` integer
        - `typedId` string
        - `userGroupEdit` string
        - `userGroupViewDetails` string
        - `version` integer
        - `attribute1` string
        - `attribute2` string
        - `attribute3` string
        - `attribute4` string
        - `attribute5` string
        - `attribute6` string
        - `attribute7` string
        - `attribute8` string
        - `attribute9` string
        - `attribute10` string
        - `attribute11` string
        - `attribute12` string
        - `attribute13` string
        - `attribute14` string
        - `attribute15` string
        - `attribute16` string
        - `attribute17` string
        - `attribute18` string
        - `attribute19` string
        - `attribute20` string
        - `attribute21` string
        - `attribute22` string
        - `attribute23` string
        - `attribute24` string
        - `attribute25` string
        - `attribute26` string
        - `attribute27` string
        - `attribute28` string
        - `attribute29` string
        - `attribute30` string
      - `status` number
    - object — A nested array of values.
      - `data` unknown[]
        - unknown

---

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