---
title: "Mass Edit"
method: POST
path: "/datamart.massedit/{typedId}"
tags: ["Data Manager"]
---

# Mass Edit

`POST /datamart.massedit/{typedId}`

## Request

- Base URL: `https://companynode.pricefx.com/pricefx/companypartition`
- URL: `https://companynode.pricefx.com/pricefx/companypartition/datamart.massedit/{typedId}`
- Auth: one of:
  - HTTP basic
  - API key in header `X-PriceFx-jwt`
- TypeScript: <https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/docs/datamart.massedit/:typedId/post.ts> (a function with typed inputs; its response is checked against the schema)

Performs a Mass Edit operation on specified Datamart object - changes values of the specified field (column).

## Request body

- object
  - `data` object, required
    - `filterCriteria` object
    - `massEditRecords` object[], required
      - `fieldName` string, required: The name of the column whose values you want to change.
      - `massEditOperator` string, required
      - `fieldValue` string, required: New column values.
      - `precision` unknown

## Response `200`

OK - returns the number of edited records.

- object
  - `response` object
    - `node` string
    - `data` string[]
    - `status` number

---

[API](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api.md) - [All operations](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/revisions/23d941b00ac0?raw)
