Pricefx REST API Reference
Pricefx REST API
/Pricefx API Reference/- List Customer Assignments
Create a Manual Price List
Add Products to a Manual Pricelist
Add Products to a Manual Price List (No Recalculation)
List Products From a Manual Price List
List Manual Price Lists
Mass Edit a Manual Price List Items
Update a Manual Price List Item
Upsert a Product in a Manual Price List
Delete Products from a Manual Price List
Delete a Product from a Manual Price List
Delete a Manual Price List
Copy a Manual Price List
Calculate a Manual Price List
Assign Customers
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 } }
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