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

Mark an Offer as Lost (with reason)

Request

Sets the specified Quote as LOST and sets the loss reason (lostReason). Optionally, an additional comment (lostReasonComment) can be added.
Returns the updated Quote object.

Security
basic or X-PriceFx-jwt
Path
typedIdstringrequired

typedId of the Quote you want set as lost.

Example: 2147493285.Q
Bodyapplication/json
dataobjectrequired
data.​lostReasonstringrequired

The name of the lost reason. The name of the reason must be set in Administration > Configuration > Quoting > Quote Reasons.

data.​lostReasonCommentstring

An additional comment.

curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.setlostreason/2147493285.Q \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "lostReason": "string",
      "lostReasonComment": "string"
    }
  }'

Responses

OK

Bodyapplication/json
responseobject(markOfferLostWithReasonResponse)
Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-689d96f98d-hnkt9", "data": [], "status": 0 } }

Update CLIC Line Items

Request

Updates specified line item fields of a CLIC object (Quote, Agreements & Promotions (Contract), Rebate Agreement, or Compensation Plan).

Security
basic or X-PriceFx-jwt
Path
typedIdstringrequired

typedId of the CLIC object (e.g., a Quote) you want to update line items for.

Example: 2147489828.Q
Bodyapplication/json
dataobjectrequired
data.​lineItemsArray of objectsrequired
data.​lineItems[].​versionintegerrequired
data.​lineItems[].​typedIdstringrequired

typedId of the line item you want to update.

Example: "2147526106.QLI"
data.​lineItems[].​inputsArray of objects
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.updatelineitems/2147489828.Q \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "lineItems": [
        {
          "version": 1,
          "typedId": "2147506890.QLI",
          "inputs": [
            {
              "name": "Quantity",
              "value": 2
            },
            {
              "name": "Quantity",
              "value": 5
            }
          ]
        }
      ]
    }
  }'

Responses

OK

Bodyapplication/json
responseobject
Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-5db9bf487f-58sbn", "data": [], "status": 0 } }

Create a Quote

Request

Creates a Quote (Q) or a Temporary Quote (QTMP).

Security
basic or X-PriceFx-jwt
Path
TypeCodestringrequired

Enter the type code of the entity you want to create.

Enum"Q""QTMP"
Example: Q
Bodyapplication/json
dataobject
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/clicmanager.create/Q \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "quote": {
        "inputs": [
          {
            "name": "Customer",
            "label": "Customer",
            "type": "CUSTOMER",
            "url": "/fetch/C/"
          }
        ],
        "outputs": [],
        "lineItems": [],
        "label": "New Quote",
        "quoteType": null,
        "nodeId": 0,
        "userGroupEdit": null,
        "userGroupViewDetails": null,
        "expiryDate": "2024-01-18",
        "targetDate": "2024-01-18",
        "externalRef": null,
        "viewState": {}
      }
    }
  }'

Responses

OK

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

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