---
title: "Mass Edit Price Grid Items"
method: POST
path: "/pricegridmanager.massedit/{id}"
tags: ["Live Price Grids"]
---

# Mass Edit Price Grid Items

`POST /pricegridmanager.massedit/{id}`

Updates fields of specified Live Price Grid Items.<p>Specify the items in the request body by the `id` field.
<!-- theme: note -->
> **Information**:
> The `id` is the `typedId` without the **PGI** suffix. For example, the `id` attribute of the item with `typedId` = **649.PGI**  is **649**.

---

Required Permission| Roles with the Required Permission |
---------|----------|
 PRICEGRID_UPDATE | Edit LPG & Add Products (`PB_PRICEGRIDEDITOR_ADD_SKU`), Edit LPG (`PB_PRICEGRIDEDITOR`), Administer LPG (`PB_PRICEGRIDS`)

## Request body

- object
  - `data` object
    - `filterCriteria` object
      - `_constructor` string
      - `operator` string
      - `criteria` object[]
        - `fieldName` string
        - `operator` string
        - `value` string[]
        - `_constructor` string
    - `massEditRecords` object[]
      - `fieldName` string — The field you want to edit.
      - `massEditOperator` '+' | '-' | '*' | '='
      - `fieldValue` integer — The new value of the field. If omitted, the field is set to null.
      - `precision` unknown

## Response `200`

OK - The response contains `"data":null` as the mass edit task is a background process whose results are not yet available within the response time.

- object
  - `response` object, required
    - `node` string, required
    - `data` unknown
    - `status` number, required

---

[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)
