---
title: "Update a custom tables: content by ID"
method: PATCH
path: "/v1/custom-table-value/{id}"
tags: ["Custom Tables: Content"]
---

# Update a custom tables: content by ID

`PATCH /v1/custom-table-value/{id}`

## Request

- Base URL: `https://api.finalpos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.finalpos.com/v1/custom-table-value/{id}`
- Auth: API key in header `x-api-key`

Updates an existing custom tables: content record.

## Path parameters

- `id` string, required

## Request body

- UpdateCustomTableValueDto
  - `tableId` object: ID of the custom table this value belongs to
  - `rowId` object: ID of the custom table row this value belongs to
  - `fieldId` object: ID of the custom table field this value belongs to
  - `value` string: Value for the field

## Response `200`

The custom tables: content has been successfully updated.

- CustomTableValueResponseDto
  - `_id` object, required: Unique identifier for the custom table value
  - `companyId` object, required: Company ID associated with the custom table value
  - `tableId` object, required: ID of the custom table this value belongs to
  - `rowId` object, required: ID of the custom table row this value belongs to
  - `fieldId` object, required: ID of the custom table field this value belongs to
  - `value` string, required: Value for the field
  - `isDeleted` boolean: Status flag to indicate if the custom table value is deleted
  - `createdAt` string, date-time: Timestamp when the custom table value was created
  - `updatedAt` string, date-time: Timestamp when the custom table value was last updated

## Other responses

- `400`: Bad request. Returns validation errors or other request-related errors.
- `404`: The resource was not found.

---

[API](https://skmtc.dev/finalpos/apis/final-pos-public-api.md) · [All operations](https://skmtc.dev/finalpos/apis/final-pos-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/finalpos/apis/final-pos-public-api/revisions/6a6842dcb479?raw)
