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

Delete Objects

Request

Deletes multiple objects based on filter settings.

Please Note: Invalid filter clauses are ignored. This could potentially lead to a full table truncate (the whole type without filter is deleted)! Use the forcefilter variant to enforce a filter in all cases!

Security
basic or X-PriceFx-jwt
Path
TypeCodestringrequired

The object's type code. See the list of Type Codes.

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[].​valuestringnon-emptyrequired
curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/delete/{TypeCode}/batch/forcefilter' \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "filterCriteria": {
        "_constructor": "AdvancedCriteria",
        "operator": "and",
        "criteria": [
          {
            "fieldName": "currency",
            "operator": "iEquals",
            "value": "EUR"
          }
        ]
      }
    }
  }'

Responses

OK

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

Create an Object

Request

Creates an object. Only one object can be added per request (unless batched).

Information: Some object types may be blocked from being added by the update command as special processing is done by a dedicated manager command.

Security
basic or X-PriceFx-jwt
Path
TypeCodestringrequired

The object's type code. See the list of Type Codes.

Bodyapplication/json
dataobjectrequired

The initial values of the object. The request needs to contain all fields that are part of the business key for that object and all non-nullable fields.

operationstringnon-emptyrequired

Must be add, null, or omitted.

curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/add/{TypeCode}' \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "sku": "product001",
      "label": "The Label 99",
      "currency": "USD",
      "formulaName": "PriceList",
      "attribute1": "123",
      "attribute2": "2"
    },
    "operation": "add"
  }'

Responses

OK

Get an Object

Request

Retrieves details of the specified object.

Note: Certain data elements (e.g. lookup table values of any table, including JSON lookup tables / pricing params) should NOT be retrieved with the general fetch commands (/fetch/{TypeCode}). Always use the "...manager.fetch" API endpoints where they are available. The same applies to update/delete/integrate commands.

Information: The following entities can intentionally be fetched by any user without any particular user role: CN, BR, CS, CLLIAM, CTAM, CTT, CTTAM, C, CAM, CXAM, DMDC, DMF, DMDL, DMDS, DM, DMM, DMR, DMT, DCRAM, FN, IE, JST, JLTVM, MPLIT, MPLAM, MLTVM, MRAM, MT, PYRAM, PGIM, PRAM, PLIM, P, PAM, PXAM, QAM, RBAAM, RRAM, RRS, RRSC, RBT, RBTAM, SC, SCN, SCNAM, SIM, SIAM, UG.

Security
basic or X-PriceFx-jwt
Path
TypeCodestringrequired

The object's type code. See the list of Type Codes.

idstringrequired

The ID of the object you want to retrieve details for.

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

Responses

OK

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

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

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