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

Create a Custom Form Type

Request

Creates a new standalone or embedded Custom Form Type.

Security
basic or X-PriceFx-jwt
Bodyapplication/json
operationstringnon-emptyrequired
dataobjectrequired
data.​uniqueNamestringnon-emptyrequired

A name of the Custom Form Type.

data.​labelstringnon-empty

A label of the Custom Form Type.

data.​headerFormulaNamestringnon-emptyrequired

A Custom Form header logic that defines the inputs, calculation results or a custom header. For embedded Custom Forms, it also defines communication with the parent object.

data.​workflowFormulaNamestring
data.​embeddedbooleanrequired

Sets whether the Custom Form will be standalone or embedded in a module.

data.​supportedParentTypeCodesstring

List of entities, which are allowed to embed this custom form type (Quote, standalone Custom Form). This is meaningful only when embedded is true.

data.​modulestringnon-empty

Applies to standalone Custom Forms. Select a module in whose main menu you want to have this Custom Form available.

data.​configurationobject

Applies only to standalone Custom Forms, add a JSON definition describing the content of the Custom Form – its steps and tabs.

curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/add/CFOT \
  -H 'Content-Type: application/json' \
  -d '{
    "operation": "add",
    "data": {
      "uniqueName": "CFOT01",
      "label": "CustomFormType01",
      "headerFormulaName": "cflogic",
      "embedded": false,
      "configuration": {
        "default": {
          "name": "default",
          "translationKey": "common_default",
          "icon": "compress-arrows",
          "tabs": {
            "details": {
              "name": "details",
              "translationKey": "dynamicTab_details",
              "type": "details",
              "icon": "file-info-alt"
            }
          }
        }
      },
      "module": "PRICESETTING"
    }
  }'

Responses

OK

Bodyapplication/json
responseobject
Response
application/json
{ "response": { "node": "string", "data": {}, "status": 0 } }

List Custom Form Types

Request

Retrieves a list of Custom Form Types.

Security
basic or X-PriceFx-jwt
Bodyapplication/json
endRownumber
oldValuesany
operationTypestringnon-empty
startRownumber
textMatchStylestringnon-empty
dataobject
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/fetch/CFOT \
  -H 'Content-Type: application/json' \
  -d '{
    "endRow": 300,
    "oldValues": null,
    "operationType": "fetch",
    "startRow": 0,
    "textMatchStyle": "exact",
    "data": {
      "_constructor": "AdvancedCriteria",
      "operator": "and",
      "criteria": [
        {
          "fieldName": "module",
          "operator": "equals",
          "value": "QUOTING"
        }
      ]
    }
  }'

Responses

OK

Bodyapplication/json
responseobject
Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-7f5685597f-7p2tn", "startRow": 0, "data": [], "endRow": 1, "totalRows": 1, "status": 0 } }

Update a Custom Form Type

Request

Updates a Custom Form Type.

Security
basic or X-PriceFx-jwt
Bodyapplication/json
oldValuesobject
operationTypestring
textMatchStylestring
dataobject
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/update/CFOT \
  -H 'Content-Type: application/json' \
  -d '{
    "oldValues": {
      "version": 3,
      "typedId": "7.CFOT",
      "uniqueName": "CFOT",
      "label": "MyCustomFormType",
      "headerFormulaName": "cflogic",
      "embedded": false,
      "module": "QUOTING",
      "configuration": {
        "default": {
          "icon": "compress-arrows",
          "name": "default",
          "tabs": {
            "details": {
              "icon": "file-info-alt",
              "name": "details",
              "type": "details",
              "translationKey": "dynamicTab_details"
            }
          },
          "translationKey": "common_default"
        }
      },
      "createDate": "2022-05-20T15:02:00",
      "createdBy": 2147490696,
      "lastUpdateDate": "2022-05-23T10:18:46",
      "lastUpdateBy": 2147490696
    },
    "operationType": "update",
    "textMatchStyle": "exact",
    "data": {
      "embedded": true,
      "configuration": null,
      "module": null,
      "supportedParentTypeCodes": null,
      "typedId": "7.CFOT",
      "workflowFormulaName": null
    }
  }'

Responses

OK

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

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

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