Pricefx REST API Reference
- Update a Live Price Grid Item
The Pricefx Backend API
Request
Updates fields of specified Live Price Grid Items.
Specify the items in the request body by the id field.
Information: The
idis thetypedIdwithout the PGI suffix. For example, theidattribute of the item withtypedId= 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) |
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/pricegridmanager.massedit/{id}
- URL:https://companynode.pricefx.com/pricefx/companypartition/pricegridmanager.massedit/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/pricegridmanager.massedit/{id}' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"filterCriteria": {
"_constructor": "AdvancedCriteria",
"operator": "and",
"criteria": [
{
"fieldName": "id",
"operator": "inSet",
"value": [
"649",
"650"
],
"_constructor": "AdvancedCriteria"
}
]
},
"massEditRecords": [
{
"fieldName": "manualResultPrice",
"massEditOperator": "=",
"fieldValue": 20,
"precision": "2"
}
]
}
}'{ "response": { "node": "string", "data": null, "status": 0 } }
Request
Updates a Price Grid Item.
To update items without a recalculation, use the /pricegridmanager.update/{id}/norecalc endpoint.
| 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) |
We have performed an update action on the comments field in our request sample >>>
Values of the object before the update. Especially important is typedId (to identify the object to update) and version (to detect date inconsistencies).
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/pricegridmanager.update/{id}
- URL:https://companynode.pricefx.com/pricefx/companypartition/pricegridmanager.update/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/pricegridmanager.update/{id}' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"typedId": "654.PGI",
"comments": "a comment"
},
"oldValues": {
"_key": "654.PGI",
"_level": 0,
"version": 0,
"typedId": "654.PGI",
"sku": "22222",
"label": "Label Two",
"unitOfMeasure": "EA",
"priceGridId": 212,
"manualEditVersion": 8,
"manualPriceExpired": false,
"createDate": "2021-11-08T16:53:21",
"createdBy": 2147490696,
"itemExtensions": {},
"completeResultsAvailable": false
},
"operationType": "update",
"textMatchStyle": "exact"
}'{ "response": { "node": "<node>", "data": [ … ], "status": 0 } }
Request
Updates a Price Grid Item without recalculation. Use this endpoint to skip recalculation of comments and manualResultPrice (Manual Override).
| 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) |
We have performed an update action on the comments field in our request sample >>>
Values of the object before the update. Especially important is typedId (to identify the object to update) and version (to detect date inconsistencies).
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/pricegridmanager.update/{id}/norecalc
- URL:https://companynode.pricefx.com/pricefx/companypartition/pricegridmanager.update/{id}/norecalc
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/pricegridmanager.update/{id}/norecalc' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"typedId": "654.PGI",
"comments": "a comment"
},
"oldValues": {
"_key": "654.PGI",
"_level": 0,
"version": 0,
"typedId": "654.PGI",
"sku": "22222",
"label": "Label Two",
"unitOfMeasure": "EA",
"priceGridId": 212,
"manualPriceExpired": false,
"createDate": "2021-11-08T16:53:21",
"createdBy": 2147490696,
"itemExtensions": {},
"completeResultsAvailable": false
},
"operationType": "update",
"textMatchStyle": "exact"
}'{ "response": { "node": "<node>", "data": [ … ], "status": 0 } }
CommentsCopy for LLM Copy page as Markdown for LLMs View as Markdown Open this page as Markdown Open in ChatGPT Get insights from ChatGPT Open in Claude Get insights from Claude Connect to Cursor Install MCP server on Cursor Connect to VS Code Install MCP server on VS Code