Live Price Grids
Perform a Mass Action
Performs a mass workflow action on specified Price Grid Items based on filter settings.
Example:<p> Approves only products where activePrice = 250.
{
"data":{
"_constructor":"AdvancedCriteria",
"operator":"and",
"criteria":[
{
"fieldName":"activePrice",
"operator":"equals",
"value":250
}
],
"workflowAction":"APPROVED",
"comment":"Approved."
}
}
| 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) |
post/pricegridmanager.massaction/{id}
Request
- Base URLhttps://companynode.pricefx.com/pricefx/companypartition
- Auth
- HTTP basic
- or API key in header X-PriceFx-jwt
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"workflowAction": "APPROVED"
}
}Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.