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

Update a Lookup Table

Request

Updates a Lookup Table.


Required PermissionRoles with the Required Permission
LOOKUPTABLE_UPDATEAdminister Price Parameters (PB_PARAMETERS), Administer Plasma (PLASMA)
Security
basic or X-PriceFx-jwt
Bodyapplication/json
dataobjectrequired

Enter values you want to update in the "field name = value" fashion. Multiple field values in one request can be updated.

data.​labelstringnon-empty
data.​statusstringnon-empty
data.​typedIdstringnon-emptyrequired
oldValuesobjectrequired

Specify values of the object before the update. Especially important are typedId (to identify the object to update) and version (to detect date inconsistencies).

oldValues.​versionnumberrequired
oldValues.​typedIdstringnon-emptyrequired
oldValues.​uniqueNamestringnon-emptyrequired
oldValues.​labelany
oldValues.​validAfterstringnon-emptyrequired
oldValues.​statusstringnon-empty
oldValues.​simulationSetany
oldValues.​typestringnon-emptyrequired
oldValues.​valueTypestringnon-emptyrequired
oldValues.​nodeIdany
oldValues.​userGroupEditany
oldValues.​userGroupViewDetailsany
oldValues.​hideWarningsboolean
oldValues.​formatTypeany
oldValues.​lastUpdateByNamestringnon-empty
oldValues.​createdByNamestringnon-empty
oldValues.​numberOfKeyFieldsnumber
oldValues.​createDatestringnon-empty
oldValues.​createdBynumber
oldValues.​lastUpdateDatestringnon-empty
oldValues.​lastUpdateBynumber
oldValues.​idnumber
oldValues.​isPlasmaboolean
operationTypestringnon-empty
textMatchStylestringnon-empty
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/lookuptablemanager.update \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "label": "The New Label",
      "status": "ACTIVE",
      "typedId": "2147484051.LT"
    },
    "oldValues": {
      "version": 0,
      "typedId": "2147484051.LT",
      "uniqueName": "pp02",
      "label": null,
      "validAfter": "2021-10-20",
      "status": "INACTIVE",
      "simulationSet": null,
      "type": "MATRIX",
      "valueType": "MATRIX",
      "nodeId": null,
      "userGroupEdit": null,
      "userGroupViewDetails": null,
      "hideWarnings": false,
      "formatType": null,
      "lastUpdateByName": "admin",
      "createdByName": "admin",
      "numberOfKeyFields": 1,
      "createDate": "2021-10-20T11:44:07",
      "createdBy": 2147490696,
      "lastUpdateDate": "2021-10-20T11:44:07",
      "lastUpdateBy": 2147490696,
      "id": 2147484051,
      "isPlasma": false
    },
    "operationType": "update",
    "textMatchStyle": "exact"
  }'

Responses

OK

Bodyapplication/json
responseobjectrequired
response.​nodestringnon-emptyrequired
response.​dataArray of objectsnon-emptyuniquerequired
response.​data[].​versionnumberrequired
response.​data[].​typedIdstringnon-emptyrequired
response.​data[].​uniqueNamestringnon-emptyrequired
response.​data[].​labelstringnon-emptyrequired
response.​data[].​validAfterstringnon-emptyrequired
response.​data[].​statusstringnon-emptyrequired
response.​data[].​simulationSetany
response.​data[].​typestringnon-emptyrequired
response.​data[].​valueTypestringnon-emptyrequired
response.​data[].​nodeIdany
response.​data[].​userGroupEditany
response.​data[].​userGroupViewDetailsany
response.​data[].​hideWarningsbooleanrequired
response.​data[].​formatTypeany
response.​data[].​lastUpdateByNamestringnon-emptyrequired
response.​data[].​createdByNamestringnon-emptyrequired
response.​data[].​numberOfKeyFieldsnumberrequired
response.​data[].​createDatestringnon-emptyrequired
response.​data[].​createdBynumberrequired
response.​data[].​lastUpdateDatestringnon-emptyrequired
response.​data[].​lastUpdateBynumberrequired
response.​data[].​idnumberrequired
response.​data[].​isPlasmabooleanrequired
response.​statusnumberrequired
Response
application/json
{ "response": { "node": "string", "data": [], "status": 0 } }

Get Logic References

Request

Retrieves a list of logics for a given Lookup Table.


Required PermissionRoles with the Required Permission
LOOKUPTABLE_UPDATEAdminister Price Parameters (PB_PARAMETERS), Administer Plasma (PLASMA)
Security
basic or X-PriceFx-jwt
Path
tableIdstringrequired

Enter the ID of the table you want to retrieve logic references for.

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

Responses

OK

Bodyapplication/json
responseobjectrequired
response.​nodestringnon-emptyrequired
response.​csrfTokenstringnon-emptyrequired
response.​dataArray of objects
response.​statusnumberrequired
Response
application/json
{ "response": { "node": "string", "csrfToken": "string", "data": [], "status": 0 } }

Mass Edit

Request

Performs a mass edit action on LookupTableValue or MatrixLookupTableValue objects. Updates LTV or MLTV columns to specified values.


Required PermissionRoles with the Required Permission
LOOKUPTABLE_UPDATEAdminister Price Parameters (PB_PARAMETERS), Administer Plasma (PLASMA)
Security
basic or X-PriceFx-jwt
Path
tableIdstringrequired

The ID of the Lookup Table whose values you want to update.

Bodyapplication/json
dataobjectrequired
data.​filterCriteriaobjectrequired
data.​filterCriteria.​_constructorstringnon-emptyrequired
data.​filterCriteria.​operatorstringnon-emptyrequired
data.​filterCriteria.​criteriaArray of objectsnon-emptyuniquerequired
data.​filterCriteria.​criteria[].​fieldNamestringnon-emptyrequired
data.​filterCriteria.​criteria[].​operatorstringnon-emptyrequired
data.​filterCriteria.​criteria[].​valueArray of strings

TypedId of rows whose columns you want to update.

data.​filterCriteria.​criteria[].​_constructorstringnon-emptyrequired
data.​massEditRecordsArray of objectsnon-emptyuniquerequired
data.​massEditRecords[].​fieldNamestringnon-emptyrequired
data.​massEditRecords[].​massEditOperatorstringnon-emptyrequired

Can be either one of these valid operators: +, -, *. If omitted, the provided value is set (= operator). Otherwise the specified operation is applied.

data.​massEditRecords[].​fieldValuestringnon-emptyrequired

The new value of the field (column).

data.​massEditRecords[].​precisionany
curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/lookuptablemanager.massedit/{tableId}' \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "filterCriteria": {
        "_constructor": "AdvancedCriteria",
        "operator": "and",
        "criteria": [
          {
            "fieldName": "id",
            "operator": "inSet",
            "value": [
              "2147497753",
              "2147497754",
              "2147497755"
            ],
            "_constructor": "AdvancedCriteria"
          }
        ]
      },
      "massEditRecords": [
        {
          "fieldName": "attribute1",
          "massEditOperator": "=",
          "fieldValue": "1",
          "precision": null
        },
        {
          "fieldName": "attribute2",
          "massEditOperator": "=",
          "fieldValue": "2",
          "precision": null
        },
        {
          "fieldName": "attribute3",
          "massEditOperator": "=",
          "fieldValue": "3",
          "precision": null
        }
      ]
    }
  }'

Responses

OK - The response contains the number of modifed objects.

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

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

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