Pricefx REST API Reference
Pricefx REST API
/Pricefx API Reference/- Download a Live Price Grid Excel File
Submit Products
List Live Price Grids
Get a Live Price Grid
List Live Price Grid Items
Copy a Price Grid
Mass Edit Price Grid Items
Update a Live Price Grid Item
Update a Live Price Grid Item (No Recalculation)
Delete a Price Grid Item
Deny a Live Price Grid Item
Delete a Price Grid Item (Filter)
Add Price Grid Items to a Price Grid
Calculate a Price Grid
Cancel a Calculation
Perform a Mass Action
Count Mass Action Items
Convert to Price List
Delete a Live Price Grid
Assign Customers
List Customer Assignments
List Live Price Grid Types
Delete a Live Price Grid Type
Add a Live Price Grid Type
Update a Live Price Grid Type
Download a Live Price Gri...
The Pricefx Backend API
Download OpenAPI description
Overview
URL
Pricefx
Languages
Servers
Mock server
https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi
URL:
https://{baseUrl}/pricefx/{partition}
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/update/PGTT
- URL:https://companynode.pricefx.com/pricefx/companypartition/update/PGTT
- 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/update/PGTT \
-H 'Content-Type: application/json' \
-d '{
"operationType": "update",
"textMatchStyle": "exact",
"data": {
"typedId": "7.PGTT",
"uniqueName": "Simple Price Grid Type 1 - New Name",
"label": "Simple Price Grid Type 1 Label",
"createdByName": "john.doe",
"lastUpdateByName": "john.doe",
"targetDate": "2030-01-01",
"userGroupEdit": "Group B",
"userGroupViewDetails": "Group A",
"userGroupCanUseType": "Group C",
"typeConfiguration": {
"elementNames": [
"testFormula",
"ElementB",
"resultPrice"
],
"dynamicItemMode": "ADD_ONLY",
"resultElementName": "resultPrice"
},
"buttonsConfiguration": {},
"headerFormulaName": "Header Formula",
"dimensionType": "SIMPLE",
"calculationFormulaName": "Formula A",
"matrixFormulaName": "Matrix Keys Generation Formula",
"matrixFormulaElementName": "Element",
"customActionLogics": "{key1=value}",
"contextualActions": {},
"createDate": "2024-10-08T12:21:41",
"createdBy": 2147492568,
"lastUpdateDate": "2024-10-08T12:21:41",
"lastUpdateBy": 2147492568,
"id": 7
},
"oldValues": {
"version": 0,
"typedId": "7.PGTT",
"uniqueName": "Simple Price Grid Type 1",
"label": "Simple Price Grid Type 1 Label",
"createdByName": "john.doe",
"lastUpdateByName": "john.doe",
"targetDate": "2030-01-01",
"userGroupEdit": "Group B",
"userGroupViewDetails": "Group A",
"userGroupCanUseType": "Group C",
"typeConfiguration": {
"elementNames": [
"testFormula",
"ElementB",
"resultPrice"
],
"dynamicItemMode": "ADD_ONLY",
"resultElementName": "resultPrice"
},
"buttonsConfiguration": {},
"headerFormulaName": "Header Formula",
"dimensionType": "SIMPLE",
"calculationFormulaName": "Formula A",
"matrixFormulaName": "Matrix Keys Generation Formula",
"matrixFormulaElementName": "Element",
"customActionLogics": "{key1=value}",
"contextualActions": {},
"createDate": "2024-10-08T12:21:41",
"createdBy": 2147492568,
"lastUpdateDate": "2024-10-08T12:21:41",
"lastUpdateBy": 2147492568,
"id": 7
}
}'Response
- application/json
- application/xml
{ "response": { "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/pricegridmanager.fetchxls/{id1}/{id2}/{id3}/{id4}/{id5}/{id6}/{id7}/{id8}/{id9}/{id10}/{id11}/{id12}/{id13}
- URL:https://companynode.pricefx.com/pricefx/companypartition/pricegridmanager.fetchxls/{id1}/{id2}/{id3}/{id4}/{id5}/{id6}/{id7}/{id8}/{id9}/{id10}/{id11}/{id12}/{id13}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/pricegridmanager.fetchxls/{id1}/{id2}/{id3}/{id4}/{id5}/{id6}/{id7}/{id8}/{id9}/{id10}/{id11}/{id12}/{id13}?templateName=string'Response
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
<root>string</root>See the Key-Value Database Storage Knowledge Base article for more details.
Operations
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