Pricefx REST API Reference
- Update a Live Price Grid Item (No Recalculation)
The Pricefx Backend API
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 } }
Request
Deletes a Live Price Grid Item object from the specified Live Price Grid.
| Required Permission | Roles with the Required Permission |
|---|---|
| PRICEGRID_REMOVE | Edit LPG & Add Products (PB_PRICEGRIDEDITOR_ADD_SKU), Administer LPG (PB_PRICEGRIDS) |
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/pricegridmanager.delete/{id}
- URL:https://companynode.pricefx.com/pricefx/companypartition/pricegridmanager.delete/{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.delete/{id}' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"typedId": "649.PGI"
}
}'{ "response": { "node": "<node>", "data": [ … ], "status": 0 } }
See the Key-Value Database Storage Knowledge Base article for more details.
Here you can find all fields of the corresponding entity (represented by the type code).
Use the /metadata.describe endpoint to find out the correct data type of the field that is used in your partition.
Comments