Pricefx REST API Reference
Pricefx REST API
/Pricefx API Reference/- Create a Quote
Get a Quote/Contract/Rebate Agreement/Compensation Plan Header
Submit a Quote/Contract/Rebate Agreement
List CLIC Objects
Update a Quote/Contract/Rebate Agreement/Compensation Plan
Recalculate a Quote/Contract/Rebate Agreement/Compensation Plan
List Unique CLIC Items
Mark an Offer as Lost (with reason)
Send an Email
Update CLIC Line Items
Save a Temporary Data
Get a Temporary Data
Delete All Line Items
Import Line Items (w/o Input Types)
Get Folder Statistics
Fetch Activities
Create a Quote
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}
Request
Updates specified line item fields of a CLIC object (Quote, Agreements & Promotions (Contract), Rebate Agreement, or Compensation Plan).
Security
basic or X-PriceFx-jwt
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.updatelineitems/{typedId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/clicmanager.updatelineitems/{typedId}
- 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/clicmanager.updatelineitems/2147489828.Q \
-H 'Content-Type: application/json' \
-d '{
"data": {
"lineItems": [
{
"version": 1,
"typedId": "2147506890.QLI",
"inputs": [
{
"name": "Quantity",
"value": 2
},
{
"name": "Quantity",
"value": 5
}
]
}
]
}
}'Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-5db9bf487f-58sbn", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.create/{TypeCode}
- URL:https://companynode.pricefx.com/pricefx/companypartition/clicmanager.create/{TypeCode}
- 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/clicmanager.create/Q \
-H 'Content-Type: application/json' \
-d '{
"data": {
"quote": {
"inputs": [
{
"name": "Customer",
"label": "Customer",
"type": "CUSTOMER",
"url": "/fetch/C/"
}
],
"outputs": [],
"lineItems": [],
"label": "New Quote",
"quoteType": null,
"nodeId": 0,
"userGroupEdit": null,
"userGroupViewDetails": null,
"expiryDate": "2024-01-18",
"targetDate": "2024-01-18",
"externalRef": null,
"viewState": {}
}
}
}'Response
application/json
{ "response": { "node": "string", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.save/{typedId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/clicmanager.save/{typedId}
- 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/clicmanager.save/123.QTMP \
-H 'Content-Type: application/json' \
-d '{}'Response
application/json
{ "response": { "node": "string", "data": [ … ], "status": 0 } }
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