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

Execute an Assigned Logic

Request

Executes a logic that is assigned to the given product (specified by sku or typedId) and calculates the result. The result content is defined partially by the visibility flags that are part of the logic master data.

Security
basic or X-PriceFx-jwt
Path
skustringrequired

The sku or typedId of the product you want to execute the logic for.

Bodyapplication/json
dataobject

Provide inputs for the logic as key-value pairs.

curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/formulamanager.execute/{sku}' \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "priority": "high",
      "quantity": 14,
      "map": {
        "key": "value"
      }
    }
  }'

Responses

OK

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

Execute a Logic

Request

Executes a logic (specified by uniqueName) that is assigned to the given product (specified by sku or typedId) and calculates the result. The result content is defined partially by the visibility flags that are part of the logic master data.

Security
basic or X-PriceFx-jwt
Path
skustringrequired

The sku or typedId of the product you want to execute the assigned logic for.

uniqueNamestringrequired

The name (uniqueName) of the logic you want to execute.

Bodyapplication/json
dataobject

Provide inputs for the logic as key-value pairs.

curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/formulamanager.execute/{sku}/{uniqueName}' \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "priority": "high",
      "quantity": 14,
      "map": {
        "key": "value"
      }
    }
  }'

Responses

OK

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

List Recommendations

Request

Retrieves recommended Quote items for a customer, segment, or a product.

See also: Configure Recommended Items Knowledge base article.

If the endpoint receives a request data containing a Quote typedId and a QuoteProductFilter logic is configured in the partition (see Quote Product Picker Filter Logic), then the endpoint will evaluate this logic with the corresponding Quote and gives the resulting Filter object to the recommendation model evaluation.

Security
basic or X-PriceFx-jwt
Bodyapplication/json
dataobjectrequired
data.​customersArray of strings
data.​productsArray of strings

Specify SKUs that have been already added to the Quote to exclude them from recommendations. Use the /clicmanager.fetchitemuniquetypes/{typedId} endpoint to retrieve these SKUs.

data.​excludeProductsArray of strings

Specify any products (SKUs) you want to explicitly exclude from recommendations.

data.​maxResultsinteger
data.​typedIdstring

typedId of the Quote you want to get the recommendations for.

curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/recommendations.recommend \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "customers": [
        "CD-0001"
      ]
    }
  }'

Responses

OK

Bodyapplication/json
responseobject
Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-844d685f8b-8hn7d", "data": [], "status": 0 } }

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