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

Delete a Logic

Request

Deletes a logic, including all elements.

Security
basic or X-PriceFx-jwt
Path
idstringrequired

The ID of the logic you want to delete. id is the typedId without F suffix. For example, the id attribute of the item with typedId = 2147484835.F is 2147484835.

curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/formulamanager.delete/{id}'

Responses

OK

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

List Logics

Request

Retrieves a list (uniqueName and label) of all logics in the partition you are currently authenticated for.

Security
basic or X-PriceFx-jwt
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/formulamanager.getnames

Responses

OK

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

Generate Parameters

Request

Retrieves a list of parameters and their Nature for a given formula.

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

The validity date of the formula.

data.​itemstring
data.​testFormulaobjectrequired

JSON that represents the whole draft formula (the same format as used for the update command).

data.​testFormula.​elementsArray of objectsnon-emptyuniquerequired
data.​testFormula.​elements[].​allowOverridebooleanrequired
data.​testFormula.​elements[].​combinationTypestringnon-emptyrequired
data.​testFormula.​elements[].​displayOptionsnumberrequired
data.​testFormula.​elements[].​elementGroupsArray of objects
data.​testFormula.​elements[].​elementNamestringnon-emptyrequired
data.​testFormula.​elements[].​elementTimeoutnumberrequired
data.​testFormula.​elements[].​hideOnNullbooleanrequired
data.​testFormula.​elements[].​hideWarningsbooleanrequired
data.​testFormula.​elements[].​protectedExpressionbooleanrequired
data.​testFormula.​elements[].​summarizebooleanrequired
data.​testFormula.​elements[].​formulaExpressionstringnon-emptyrequired
data.​testFormula.​statusstringnon-emptyrequired
data.​testFormula.​uniqueNamestringnon-emptyrequired
data.​testFormula.​validAfterstringnon-emptyrequired
data.​testFormula.​__PROCobjectrequired
data.​testFormula.​__PROC.​sourceIdstringnon-emptyrequired
data.​testFormula.​__PROC.​typeCodestringnon-emptyrequired
data.​testFormula.​__PROC.​fsIdstringnon-emptyrequired
data.​testFormula.​__PROC.​typestringnon-emptyrequired
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/formulamanager.testparams \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "targetDate": "2021-12-10",
      "item": "P0000012345",
      "testFormula": {
        "elements": [
          {
            "allowOverride": false,
            "combinationType": "FUNCTION",
            "displayOptions": 16,
            "elementGroups": [],
            "elementName": "NewElement",
            "elementTimeout": 0,
            "hideOnNull": false,
            "hideWarnings": false,
            "protectedExpression": false,
            "summarize": false,
            "formulaExpression": "api.inputBuilderFactory()\n        .createStringUserEntry(\"MyStringParameter\")\n        .getInput()"
          }
        ],
        "status": "ACTIVE",
        "uniqueName": "admin",
        "validAfter": "2020-01-01",
        "__PROC": {
          "sourceId": "CalculationLogic/MichalS+2020-01-01",
          "typeCode": "F",
          "fsId": "CalculationLogic/MichalS+2020-01-01",
          "type": "CalculationLogic"
        }
      }
    }
  }'

Responses

OK

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

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

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