Pricefx REST API Reference
Pricefx REST API
/Pricefx API Reference/- Delete a Price List
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
Assign Customers
List Customer Assignments
List Price List Types
Delete a Price List Type
Add a Price List Type
Update a Price List Type
Delete a Price List
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
Deletes a Price List Item based on filter settings.
Filter example:
Deletes only Price List Items where comments = "denied".
{
"data": {
"filterCriteria": {
"operator": "and",
"criteria": [
{
"fieldName": "comments",
"operator": "iEquals",
"value": "denied"
}
]
}
}
}| Required Permission | Roles with the Required Permission |
|---|---|
| PRICELIST_REMOVE | Administer Price Lists (PB_PRICELISTS), Manage Price Lists (PB_PRICELISTSEDITOR) |
Security
basic or X-PriceFx-jwt
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/pricelistmanager.delete/PL/{id}/batch
- URL:https://companynode.pricefx.com/pricefx/companypartition/pricelistmanager.delete/PL/{id}/batch
- 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/pricelistmanager.delete/PL/{id}/batch' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"filterCriteria": {
"operator": "and",
"criteria": [
{
"fieldName": "comments",
"operator": "iEquals",
"value": "denied"
}
]
}
}
}'Response
application/json
{ "response": { "node": "node", "csrfToken": "token", "data": [ … ], "status": 0 } }
Request
Deletes a Price List specified by typedId.
| Required Permission | Roles with the Required Permission |
|---|---|
| PRICELIST_REMOVE | Administer Price Lists (PB_PRICELISTS), Manage Price Lists (PB_PRICELISTSEDITOR) |
Security
basic or X-PriceFx-jwt
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/pricelistmanager.delete
- URL:https://companynode.pricefx.com/pricefx/companypartition/pricelistmanager.delete
- 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/pricelistmanager.delete \
-H 'Content-Type: application/json' \
-d '{
"data": {
"typedId": "2147490403.PL"
}
}'Response
application/json
{ "response": { "node": "string", "data": [ … ], "status": 0 } }
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 } }
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