Delete a Price Grid Item (Filter)

post/pricegridmanager.delete/{id}/batch

Deletes a Live Price Grid Item based on filter settings.


Filter example:

Deletes only Price Grid Items where comments = "del".

{
  "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)
Securitybasic or X-PriceFx-jwt
Request
path Parameters
id
required
string

The ID of the Price Grid that contains Price Grid Items you want to delete.

Request Body schema: application/json
required
object
required
object
operator
required
string non-empty
required
Array of objects non-empty unique
Array (non-empty)
fieldName
required
string non-empty
operator
required
string non-empty

Specify an operator of the filter criteria.

Possible values: "equals" "iEquals" "notEqual" "iNotEqual" "isNull" "notNull" "contains" "iContains" "containsPattern" "iContainsPattern" "notContains" "iNotContains" "startsWith" "iStartsWith" "notStartsWith" "iNotStartsWith" "endsWith" "iEndsWith" "notEndsWith" "iNotEndsWith" … 4 more
value
required
string non-empty
Responses
200

OK

Request samples
application/json
{
  • "data": {
    • "filterCriteria": {
      • "operator": "and",
      • "criteria": [
        • {
          }
        ]
      }
    }
}