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

Create a Price List

Request

Creates a new Price List.


Required PermissionRoles with the Required Permission
PRICELIST_ADDAdminister Price Lists (PB_PRICELISTS), Manage Price Lists (PB_PRICELISTSEDITOR)
Security
basic or X-PriceFx-jwt
Bodyapplication/json
dataobjectrequired
data.​priceListNamestringnon-emptyrequired

Specifies parameter names and values used for formula computation.

data.​targetDatestringnon-emptyrequired

Set the validity date of the price list.

data.​errorModestringnon-emptyrequired
data.​keepManualOverridesany

A flag to indicate if manual overrides should be preserved in the revision.

data.​useFilterany

Specifies whether the original product filter criteria (if still available/applicable) should be used.

data.​writeOnlyChangedItemsany

A flag to indicate if only items with price changes should be written to the revision.

data.​configurationobject
data.​overrideany

If set to true, adds products from products selection criteria to the price list and will override existing results if present. If set to false, adds products, but will not override results. If this value is null, then a revision of the entire Price List is triggered.

curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/pricelistmanager.add \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "priceListName": "Price List 2021",
      "targetDate": "2021-11-10",
      "errorMode": "ABORT",
      "keepManualOverrides": null,
      "useFilter": null,
      "writeOnlyChangedItems": null,
      "configuration": {
        "shotgunModeEnabled": false,
        "notifyWhenFinished": "NONE",
        "productFilterCriteria": {
          "_constructor": "AdvancedCriteria",
          "operator": "and",
          "criteria": [
            {
              "fieldName": "sku",
              "operator": "inSet",
              "value": [
                "11111",
                "22222",
                "33333"
              ]
            }
          ]
        },
        "sortKeys": null,
        "resultElementName": "ListPrice",
        "matrixFormulaName": null,
        "matrixElementName": null,
        "uomOverrideElementName": null,
        "elementNames": [
          "BasePrice"
        ],
        "hiddenElementNames": []
      },
      "override": null,
      "nodeId": null
    }
  }'

Responses

OK

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

Submit a Price List

Request

Starts an approval process for the Price List.


Required PermissionRoles with the Required Permission
PRICELIST_UPDATEAdminister Price Lists (PB_PRICELISTS), Manage Price Lists (PB_PRICELISTSEDITOR)
Security
basic or X-PriceFx-jwt
Path
idstringrequired

The ID of the Price List you want to submit. The id is the typedId without the suffix. For example, the id attribute of the item with typedId = 2147484837.PL is 2147484837.

Bodyapplication/json
dataobjectrequired
data.​actionCommentstring
curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/pricelistmanager.submit/{id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "actionComment": "a comment"
    }
  }'

Responses

Example response

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

Revoke a Price List

Request

Revokes an approved Price List.

Required PermissionRoles with the Required Permission
PRICELIST_REVOKEAdminister Price Lists (PB_PRICELISTS)
Security
basic or X-PriceFx-jwt
Path
idstringrequired
Bodyapplication/json
dataobjectrequired
data.​actionCommentstring
curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/pricelistmanager.revoke/{id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "actionComment": "a comment"
    }
  }'

Responses

Example response

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

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