---
title: "Delete a Price Grid Item (Filter)"
method: POST
path: "/pricegridmanager.delete/{id}/batch"
tags: ["Live Price Grids"]
---

# Delete a Price Grid Item (Filter)

`POST /pricegridmanager.delete/{id}/batch`

Deletes a Live Price Grid Item based on filter settings.

---
**Filter example**:<p>
Deletes only Price Grid Items where `comments` = "del".
```json
{
  "data": {
    "filterCriteria": {
      "operator": "and",
      "criteria": [
        {
          "fieldName": "comments",
          "operator": "iEquals",
          "value": "del"
        }
      ]
    }
  }
}
```

---

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

## Request body

- object
  - `data` object, required
    - `filterCriteria` object, required
      - `operator` string, required
      - `criteria` object[], required
        - `fieldName` string, required
        - `operator` 'equals' | 'iEquals' | 'notEqual' | 'iNotEqual' | 'isNull' | 'notNull' | 'contains' | 'iContains' | 'containsPattern' | 'iContainsPattern' | 'notContains' | 'iNotContains' | 'startsWith' | 'iStartsWith' | 'notStartsWith' | 'iNotStartsWith' | 'endsWith' | 'iEndsWith' | 'notEndsWith' | 'iNotEndsWith' | 'iBetween' | 'iBetweenInclusive' | 'inSet' | 'notInSet', required — Specify an operator of the filter criteria.
        - `value` string, required

## Response `200`

OK

---

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