Skip to content

The Pricefx Backend API

Pricefx REST API Reference

Languages
Servers
Mock server
https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi
URL:
https://{baseUrl}/pricefx/{partition}

General

Operations

Products

Operations

Product Extensions

Operations

Product Image

Operations

Customers

Operations

Customer Extensions

Operations

Sellers

Operations

Seller Extensions

Operations

Condition Records

Operations

Competition Data

Operations

Imports

Operations

Data Change Requests

Operations

Lookup Tables / Company Parameters

Operations

User Admin

Operations

Authentication

Operations

Admin Tools

Operations

Logics

Operations

Logs

Operations

Custom Forms

Operations

Calculated Field Sets

Operations

Jobs & Tasks

Operations

Data Manager

Operations

Actions

Operations

Action Types

Operations

Price Lists

Operations

Manual Price Lists

Operations

Live Price Grids

Operations

Calculation Grids

Operations

Get a Calculation Grid Item

Request

Retrieves the Calculation Grid Item record (CGI).

Security
basic or X-PriceFx-jwt
Path
keyNumberstringrequired

Use CGI1..CGI6 in the path, where numbers from 1 to 6 refer to Calculation Grid Item keys.

Enum"1""2""3""4""5""6"
idstringrequired

id of the Calculation Grid Item you want to fetch.

Bodyapplication/json
object
curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/fetch/CGI{keyNumber}/{id}' \
  -H 'Content-Type: application/json' \
  -d '{}'

Responses

OK

Bodyapplication/json
responseobject
Response
application/json
{ "response": { "node": "e2e-tabasco-node", "data": [], "status": 0 } }

Update a Calculation Grid Item

Request

Allows you to perform a manual override of the specified Calculation Grid Item (CGI). Returns the updated CGIx object.

Security
basic or X-PriceFx-jwt
Path
idstringrequired

id of the Calculation Grid Item you want to update.

Example: 6
Bodyapplication/json
dataobjectrequired
data.​typedIdstringrequired
data.​key6string
oldValuesobject(CalculationGridItem6Key)

The type code is CGI6.

operationTypestring
textMatchStylestring
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/calculationgridmanager.update/6 \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "typedId": "4.CGI6",
      "key6": "newKeyValue"
    },
    "oldValues": {
      "version": 3,
      "typedId": "4.CGI6",
      "calculationGridId": 7,
      "manualEditVersion": 0,
      "name": "2 | q | 2 | aa | w | b",
      "createDate": "2022-11-30T12:45:54",
      "createdBy": 2147490187,
      "lastUpdateDate": "2022-11-30T12:45:54",
      "lastUpdateBy": 2147490187,
      "key1": "2",
      "key2": "q",
      "key3": "2",
      "key4": "aa",
      "key5": "w",
      "key6": "b",
      "completeResultsAvailable": false,
      "itemExtensions": {}
    },
    "operationType": "update",
    "textMatchStyle": "exact"
  }'

Responses

OK

Bodyapplication/json
responseobject
Response
application/json
{ "response": { "node": "e2e-tabasco-node", "data": [], "status": 0 } }

Submit a Calculation Grid Item

Request

Submits the CalculationGridItems to the workflow.


Required PermissionRoles with the Required Permission
CALCULATIONGRID_SUBMITEdit Calculation Grid & Add Products (CALCULATIONGRID_ADD), Edit CG (PB_CALCULATIONGRIDEDITOR), Administer CG (PB_CALCULATIONGRIDS)
Security
basic or X-PriceFx-jwt
Path
idstringrequired

The id of the Calculation Grid you want to submit items for. You can retrieve the id of the CG, for example, by calling the /fetch/CG endpoint.

Bodyapplication/json
dataobjectrequired
data.​idsArray of objectsrequired

Specify typedIds of items you want to accept.

curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/calculationgridmanager.accept/{id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "ids": [
        "12.CGI",
        "13.CGI",
        "17.CGI",
        "18.CGI",
        "19.CGI"
      ]
    }
  }'

Responses

OK - In case that more than one item is passed in the request, the body will not contain any data ("data":null). For a single item, the new CalculationGridItem object is returned.

OK

Bodyapplication/json
responseobject
Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-5459985ccb-cwdn6", "data": [], "status": 0 } }

Visual Configuration

Operations

Quotes

Operations

Contracts (Agreements & Promotions)

Operations

Visual Configuration

Operations

Rebate Agreements

Operations

Rebate Calculations

Operations

Rebate Record Group

Operations

Sales Compensations

Operations

Claim Types

Operations

Claims

Operations

Optimization

Operations

Workflow

Operations

Workflow Delegation

Operations

Attachments

To upload a file you need to perform the following actions using endpoints in this category:

  1. Create an Upload Slot
  2. Upload a File
  3. Delete an Upload Slot
Operations

Product Image

Operations

Configuration

Operations

Internationalization

Operations

Metadata

Operations

Clicmanager

Clicmanager (CLIC = "Calculable Line Item Collection") endpoints are used in the REACT version to manipulate Quote/Agreements & Promotions (Contract)/Rebate Agreement/Compensation Plan objects.

Operations

Comments

Operations

Notifications

Operations

Heartbeat

Operations

Key-Value Store

See the Key-Value Database Storage Knowledge Base article for more details.

Operations

Entities

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.

otherSchemas

Schemas