Pricefx REST API Reference
Pricefx REST API
/Pricefx API Reference/- Import Competition Data
Get a Product Set
Get Competition Data
List Product Sets
Import Competition Data
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}
Bodyapplication/json
The number of the end row that defines the end of the result set's returned objects. Use this parameter if you want to implement paging for results.
Default 300
The number of the first row that defines the start of the result set's returned objects. Use this parameter if you want to implement paging for results.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/fetch/PCOMPCO
- URL:https://companynode.pricefx.com/pricefx/companypartition/fetch/PCOMPCO
- 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/fetch/PCOMPCO \
-H 'Content-Type: application/json' \
-d '{
"endRow": 300,
"oldValues": null,
"operationType": "fetch",
"startRow": 0,
"textMatchStyle": "exact"
}'Response
application/json
{ "response": { "node": "string", "startRow": 0, "data": [ … ], "endRow": 0, "totalRows": 0, "status": 0 } }
Bodyapplication/json
The competition product details.
INSERT - always inserts new records, even duplicates. UPDATE - data is always overridden.
Enum"INSERT""UPDATE"
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/productmanager.importproductcompetition
- URL:https://companynode.pricefx.com/pricefx/companypartition/productmanager.importproductcompetition
- 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/productmanager.importproductcompetition \
-H 'Content-Type: application/json' \
-d '{
"data": {
"importStrategy": "INSERT",
"products": [
{
"sku": "01",
"label": "Product01",
"price": 10,
"currency": "EUR",
"competitor": "COMP",
"competitorSku": "P001",
"competitionType": "string",
"country": "Spain",
"priceUnit": 1,
"unitOfMeasure": "string",
"infoDate": "2021-10-25T12:14:28.646Z",
"additionalInfo1": 0,
"additionalInfo2": 100,
"additionalInfo4": "test"
},
{
"sku": "02",
"label": "Product02",
"price": 10,
"currency": "EUR",
"competitor": "COMP",
"competitorSku": "P002",
"competitionType": "string",
"country": "Italy",
"priceUnit": 1,
"unitOfMeasure": "string",
"infoDate": "2021-10-25T12:16:28.646Z",
"additionalInfo1": 0,
"additionalInfo2": 100,
"additionalInfo4": "test"
}
]
}
}'Response
application/json
{ "response": { "node": "string", "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