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

Workflow

Operations

Add an Approver Step

Request

Adds an approver step to the workflow (specified by the currentStepId).

Security
basic or X-PriceFx-jwt
Path
currentStepIdstringrequired

The ID of the workflow step. It can be retrieved using the /workflowsmanager.fetch/active (List Pending Approvals) endpoint.

Example: 2d721e9d-ac6d-4eda-bd6c-60424f4fdaef
Bodyapplication/json
dataobjectrequired
data.​addStepCurrentStepIdstringnon-emptyrequired
data.​addStepStepInstanceobjectrequired
data.​addStepStepInstance.​uniqueNamestringnon-emptyrequired
data.​addStepStepInstance.​reasonstringnon-emptyrequired
data.​addStepStepInstance.​userLoginNameany
data.​addStepStepInstance.​userGroupNameany
data.​addStepStepInstance.​emailAttachmentboolean
data.​addStepStepInstance.​propertiesobject
data.​addStepStepInstance.​userLoginNamesArray of anyrequired

userLoginNames or userGroupNames must be provided.

data.​addStepStepInstance.​userGroupNamesArray of objectsrequired

userLoginNames or userGroupNames must be provided.

data.​addStepStepInstance.​minApprovalsNeedednumber
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/workflowsmanager.addapprover/2d721e9d-ac6d-4eda-bd6c-60424f4fdaef \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "addStepCurrentStepId": "448a0229-0488-4f3a-a13d-481936ad01dd",
      "addStepStepInstance": {
        "uniqueName": "Additional check",
        "reason": "Check this",
        "userLoginName": null,
        "userGroupName": null,
        "emailAttachment": false,
        "properties": {},
        "userLoginNames": [
          "JohnDoe"
        ],
        "userGroupNames": [],
        "minApprovalsNeeded": 1
      }
    }
  }'

Responses

OK

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

Add a Watcher Step

Request

Adds a watcher step to the workflow (specified by the currentStepId).

Security
basic or X-PriceFx-jwt
Path
currentStepIdstringrequired

The ID of the workflow step. It can be retrieved using the /workflowsmanager.fetch/active (List Pending Approvals) endpoint.

Example: 2d721e9d-ac6d-4eda-bd6c-60424f4fdaef
Bodyapplication/json
dataobjectrequired
data.​addStepCurrentStepIdstringnon-emptyrequired
data.​addStepStepInstanceobjectrequired
data.​addStepStepInstance.​uniqueNamestringnon-emptyrequired
data.​addStepStepInstance.​reasonstringnon-emptyrequired
data.​addStepStepInstance.​userLoginNameany
data.​addStepStepInstance.​userGroupNameany
data.​addStepStepInstance.​emailAttachmentboolean
data.​addStepStepInstance.​propertiesobjectrequired
data.​addStepStepInstance.​userLoginNamesArray of stringsrequired
data.​addStepStepInstance.​userGroupNamesArray of objectsrequired
data.​addStepStepInstance.​emailsany
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/workflowsmanager.addwatcher/2d721e9d-ac6d-4eda-bd6c-60424f4fdaef \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "addStepCurrentStepId": "4c93094e-a9ba-4c84-aed7-fc5464742903",
      "addStepStepInstance": {
        "uniqueName": "Watcher Step",
        "reason": "Watch this",
        "userLoginName": null,
        "userGroupName": null,
        "emailAttachment": false,
        "properties": {},
        "userLoginNames": [
          "JohnDoe"
        ],
        "userGroupNames": [],
        "emails": null
      }
    }
  }'

Responses

OK

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

Update a Review Status

Request

This feature is experimental in version 14.0 - Caribou Lou.

Updates the review status of the specified line items in the Review step of the Collaboration Workflow. The request can only be executed by a member of the User Group that is currently authorized to review the associated input fields, as defined in the Creation Workflow configuration. If the user does not have the required permissions, the request will fail.

Security
basic or X-PriceFx-jwt
Path
typedIdstringrequired

typedId of the object to update.

Bodyapplication/json
object
curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/review.update/{typedId}' \
  -H 'Content-Type: application/json' \
  -d '{}'

Responses

A general response that contains data property with a content depending on returned objects (e.g., Product master table fields when calling the /fetch/P endpoint). Can be null.

Bodyapplication/json
responseobject
Response
application/json
{ "response": { "node": "string", "data": null, "status": 0, "startRow": 0, "endRow": 0 } }

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