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

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

Add a Compensation Type

Request

Creates a Compensation Type record in the Compensation Header Types table.

Security
basic or X-PriceFx-jwt
Bodyapplication/json
dataobject
operationstringrequired
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/add/COHT \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "uniqueName": "The Test Compensation Type",
      "headerFormulaName": "SC_CompensationHeader",
      "workflowFormulaName": "SC_SalesCompensationAgreement",
      "configuration": null,
      "scRecordWorkflowFormulaName": "SC_AgreementRecord"
    },
    "operation": "add"
  }'

Responses

OK

Bodyapplication/json
responseobject(addCompensationTypeResponse)
Response
application/json
{ "response": { "node": "node", "data": [], "status": 0 } }

List Compensation Types

Request

Retrieves Compensation Types from the Compensation Header Types table. A filter can be applied.

Security
basic or X-PriceFx-jwt
Bodyapplication/json
endRowinteger
operationTypestring
startRowinteger
textMatchStylestring
dataobject
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/fetch/COHT \
  -H 'Content-Type: application/json' \
  -d '{
    "endRow": 300,
    "oldValues": null,
    "operationType": "fetch",
    "startRow": 0,
    "textMatchStyle": "exact",
    "data": {
      "_constructor": "AdvancedCriteria",
      "operator": "and",
      "criteria": [
        {
          "fieldName": "uniqueName",
          "operator": "iEquals",
          "value": "The Test Compensation Type"
        }
      ]
    }
  }'

Responses

OK

Bodyapplication/json
responseobject(listCompensationTypesResponse)
Response
application/json
{ "response": { "node": "node1", "startRow": 0, "data": [], "endRow": 1, "totalRows": 1, "status": 0 } }

Update a Compensation Type

Request

Updates a Compensation Type in the Compensation Header Types table. The version property must be provided within the oldValues.

Security
basic or X-PriceFx-jwt
Bodyapplication/json
dataobjectrequired
data.​typedIdstringrequired
data.​headerFormulaNamestring
oldValuesobject
operationTypestringrequired
Example: "update"
textMatchStylestring
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/update/COHT \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "headerFormulaName": "SC_CompensationHeader2",
      "typedId": "54.COHT"
    },
    "oldValues": {
      "version": 0,
      "typedId": "54.COHT",
      "uniqueName": "The Test Compensation Type 2",
      "headerFormulaName": "SC_CompensationHeader",
      "workflowFormulaName": "SC_SalesCompensationAgreement",
      "configuration": {},
      "scRecordWorkflowFormulaName": "SC_AgreementRecord",
      "createDate": "2022-06-17T10:14:15",
      "createdBy": 1687,
      "lastUpdateDate": "2022-06-17T10:14:15",
      "lastUpdateBy": 1687
    },
    "operationType": "update",
    "textMatchStyle": "exact"
  }'

Responses

OK

Bodyapplication/json
responseobject(updateCompensationTypeResponse)
Response
application/json
{ "response": { "node": "string", "data": [], "status": 0 } }

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