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

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

Duplicate a Model

Request

Creates a copy of the specified model with a new name, including the parameter tables (if copyParamTables=true).

Security
basic or X-PriceFx-jwt
Path
typedIdstringrequired
Bodyapplication/json
dataobject
operationstring
curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/optimization.modelduplicate/{typedId}' \
  -H 'Content-Type: application/json' \
  -d '{
    "response": {
      "node": "pricefx-cluster-app-frontend-85784f5b7c-jd2t7",
      "data": [
        {
          "version": 0,
          "typedId": "59.MO",
          "uniqueName": "OT_TEST",
          "label": "OT_TEST",
          "modelClassUN": "Price_Waterfall",
          "moduleCategoryUN": null,
          "userGroupEdit": null,
          "userGroupViewDetails": null,
          "currentStep": null,
          "state": {
            "definition": {
              "mapping": {
                "product": "ProductID",
                "customer": "CustomerID",
                "quantity": "Quantity",
                "net_price": "PocketPrice",
                "surcharge": "SalesDiscount",
                "source_name": "DM.datamart_transaction",
                "invoice_price": "InvoicePrice",
                "net_net_price": "PocketPrice",
                "pocket_margin": "GrossMargin",
                "product_group": "ProductGroup",
                "product_label": "ProductLabel",
                "customer_group": "CustomerGroup",
                "customer_label": "CustomerName",
                "customer_discount": "VolumeDiscount",
                "global_list_price": "InvoicePrice",
                "standard_discount": "StdDiscount",
                "product_group_label": "ProductGroup",
                "specific_list_price": "ListPrice",
                "customer_group_label": "CustomerGroup",
                "transaction_data_filter": null,
                "negotiation_guidance_model": null
              }
            }
          },
          "createdByName": "ondrej.tesar",
          "lastUpdateByName": "ondrej.tesar",
          "submittedBy": null,
          "submittedByName": null,
          "approvedBy": null,
          "approvedByName": null,
          "deniedBy": null,
          "deniedByName": null,
          "submitDate": null,
          "workflowStatus": "DRAFT",
          "status": "DRAFT",
          "createDate": "2024-08-30T09:32:41",
          "createdBy": 2147490187,
          "lastUpdateDate": "2024-08-30T09:32:41",
          "lastUpdateBy": 2147490187,
          "id": 59
        }
      ],
      "status": 0
    }
  }'

Responses

OK

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

Import Models

Request

Imports a previously exported model from a ZIP file.

Security
basic or X-PriceFx-jwt
Bodymultipart/form-data
filestring(binary)

ZIP file containing one or more JSON model files

curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/optimization.modelimport \
  -H 'Content-Type: multipart/form-data' \
  -F file=string

Responses

OK

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

Export Models

Request

Export models to a ZIP file.

Security
basic or X-PriceFx-jwt
Bodyapplication/json
dataobject
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/optimization.modelexport \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "typedIds": [
        "1.MO",
        "2.MO"
      ]
    }
  }'

Responses

OK - A ZIP file containing the exported model JSON files.

Bodyapplication/zip
object

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