Delete a Price List Item

post/pricelistmanager.delete/PL/{id}/batch

Deletes a Price List Item based on filter settings.


Filter example:

Deletes only Price List Items where comments = "denied". json { "data": { "filterCriteria": { "operator": "and", "criteria": [ { "fieldName": "comments", "operator": "iEquals", "value": "denied" } ] } } }

Required Permission Roles with the Required Permission
PRICELIST_REMOVE Administer Price Lists (PB_PRICELISTS), Manage Price Lists (PB_PRICELISTSEDITOR)
Securitybasic or X-PriceFx-jwt
Request
path Parameters
id
required
string

Enter the ID of the Price List where you want to delete an item from.

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
value
required
string non-empty
Responses
200

OK - Returns a number of deleted items.

Response Schema: application/json
object
node
string non-empty
csrfToken
string
data
Array of strings
status
number
Request samples
application/json
{
  • "data": {
    • "filterCriteria": {
      • "operator": "and",
      • "criteria": [
        • {
          }
        ]
      }
    }
}
Response samples
application/json
{
  • "response": {
    • "node": "node",
    • "csrfToken": "token",
    • "data": [
      • "1"
      ],
    • "status": 0
    }
}