Pricefx REST API Reference
Pricefx REST API
/Pricefx API Reference/- List Customer Assignments
List Price Lists
Get a Price List
List Price List Items
Create a Revision
Calculate a Pricelist
Update a Pricelist Detail
Create a Price List
Submit a Price List
Revoke a Price List
Delete a Price List Item
Delete a Price List
Assign Customers
List Price List Types
Delete a Price List Type
Add a Price List Type
Update a Price List Type
List Customer Assignments
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
Assigns multiple customers to the specified entity (e.g., Price List, Live Price Grid, etc.).
Security
basic or X-PriceFx-jwt
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/customermanager.assign
- URL:https://companynode.pricefx.com/pricefx/companypartition/customermanager.assign
- 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/customermanager.assign \
-H 'Content-Type: application/json' \
-d '{
"data": {
"customerGroup": {
"customerFilterCriteria": {
"_constructor": "AdvancedCriteria",
"operator": "and",
"criteria": [
{
"fieldName": "customerId",
"operator": "inSet",
"value": [
"00002",
"00003"
]
}
]
},
"label": "00002,00003"
},
"priority": 1,
"assignment": "211.PG"
},
"operation": "add"
}'Response
application/json
{ "response": { "node": "e2e-templates-node", "data": [ … ], "status": 0 } }
Request
Retrieves a list of customers assigned to the specified entity. A filter can be applied (see the request sample).
Security
basic or X-PriceFx-jwt
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/customermanager.fetchassignments/{typedId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/customermanager.fetchassignments/{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/customermanager.fetchassignments/2147490405.PL \
-H 'Content-Type: application/json' \
-d '{
"endRow": 300,
"oldValues": null,
"operationType": "fetch",
"startRow": 0,
"textMatchStyle": "exact",
"data": {
"_constructor": "AdvancedCriteria",
"operator": "and",
"criteria": [
{
"fieldName": "priority",
"operator": "equals",
"value": 2
}
]
}
}'Response
application/json
{ "response": { "node": "e2e-templates-node", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/fetch/PLTT
- URL:https://companynode.pricefx.com/pricefx/companypartition/fetch/PLTT
- 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/PLTTResponse
application/json
{ "response": { "status": 0, "startRow": 0, "data": [ … ], "endRow": 2 } }
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