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

Add a Customer

Request

Inserts a customer to the Master Data - Customers table.

Please note: The data sent in your request might be different from our sample request schema. The custom fields (attribute1..attribute30) can be retrieved using the /fetch/CAM operation.

Security
basic or X-PriceFx-jwt
Bodyapplication/json
dataobjectrequired
data.​customerIdstringnon-emptyrequired
data.​namestringnon-empty
data.​attribute1stringnon-empty
data.​attribute2stringnon-empty
data.​userGroupEditstringnon-empty
operationstringnon-emptyrequired
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/add/C \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "customerId": "123456",
      "name": "Acme",
      "attribute1": "High Street 23",
      "attribute2": "+44 12345678",
      "userGroupEdit": "Administrators"
    },
    "operation": "add"
  }'

Responses

Returns customer record details.

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

Update a Customer

Request

Updates an existing customer.

Security
basic or X-PriceFx-jwt
Bodyapplication/json
dataobjectrequired
data.​attribute1stringnon-emptyrequired
data.​attribute2stringnon-emptyrequired
data.​typedIdstringnon-emptyrequired
oldValuesobjectrequired
oldValues.​versionnumberrequired
oldValues.​typedIdstringnon-emptyrequired
oldValues.​customerIdstringnon-emptyrequired
oldValues.​namestringnon-emptyrequired
oldValues.​parentIdany
oldValues.​userGroupEditany
oldValues.​userGroupViewDetailsany
oldValues.​nodeIdnumberrequired
oldValues.​createDatestringnon-emptyrequired
oldValues.​createdBynumberrequired
oldValues.​lastUpdateDatestringnon-emptyrequired
oldValues.​lastUpdateBynumberrequired
oldValues.​attribute1stringnon-emptyrequired
oldValues.​attribute2stringnon-emptyrequired
oldValues.​attribute3any
oldValues.​attribute4any
oldValues.​attribute5any
oldValues.​attribute6any
oldValues.​attribute7any
oldValues.​attribute8any
oldValues.​attribute9any
oldValues.​attribute10any
oldValues.​attribute11any
oldValues.​attribute12any
oldValues.​attribute13any
oldValues.​attribute14any
oldValues.​attribute15any
oldValues.​attribute16any
oldValues.​attribute17any
oldValues.​attribute18any
oldValues.​attribute19any
oldValues.​attribute20any
oldValues.​attribute21any
oldValues.​attribute22any
oldValues.​attribute23any
oldValues.​attribute24any
oldValues.​attribute25any
oldValues.​attribute26any
oldValues.​attribute27any
oldValues.​attribute28any
oldValues.​attribute29any
oldValues.​attribute30any
oldValues.​isParentbooleanrequired
operationTypestringnon-emptyrequired
textMatchStylestringnon-emptyrequired
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/update/C \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "attribute1": "Derry Lane 11",
      "attribute2": "+44123456789",
      "typedId": "2147492216.C"
    },
    "oldValues": {
      "version": 0,
      "typedId": "2147492216.C",
      "customerId": "00003",
      "name": "Kate Smith",
      "parentId": null,
      "userGroupEdit": null,
      "userGroupViewDetails": null,
      "nodeId": 2147492216,
      "createDate": "2021-09-22T12:56:16",
      "createdBy": 2147490696,
      "lastUpdateDate": "2021-09-22T12:56:16",
      "lastUpdateBy": 2147490696,
      "attribute1": "Derry Lane",
      "attribute2": "123456789",
      "attribute3": null,
      "attribute4": null,
      "attribute5": null,
      "attribute6": null,
      "attribute7": null,
      "attribute8": null,
      "attribute9": null,
      "attribute10": null,
      "attribute11": null,
      "attribute12": null,
      "attribute13": null,
      "attribute14": null,
      "attribute15": null,
      "attribute16": null,
      "attribute17": null,
      "attribute18": null,
      "attribute19": null,
      "attribute20": null,
      "attribute21": null,
      "attribute22": null,
      "attribute23": null,
      "attribute24": null,
      "attribute25": null,
      "attribute26": null,
      "attribute27": null,
      "attribute28": null,
      "attribute29": null,
      "attribute30": null,
      "isParent": false
    },
    "operationType": "update",
    "textMatchStyle": "exact"
  }'

Responses

Returns customer record details.

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

Delete a Customer

Request

Deletes a customer.

Only one object can be deleted per request (unless batched). Some object types may be blocked from being deleted by the update command as special processing is done by a dedicated manager command.

Note: Some object types are only soft-deleted, some are hard-deleted in the database. This behavior cannot be influenced by the client.

Security
basic or X-PriceFx-jwt
Bodyapplication/json
dataobjectrequired
data.​typedIdstringnon-emptyrequired
curl -i -X POST \
  -u <username>:<password> \
  https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/delete/C \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "typedId": "2147492214.C"
    }
  }'

Responses

OK

Bodyapplication/json
responseobjectrequired
response.​nodestringnon-emptyrequired
response.​dataArray of objectsnon-emptyuniquerequired
response.​data[].​versionnumberrequired
response.​data[].​typedIdstringnon-emptyrequired
response.​data[].​customerIdstringnon-emptyrequired
response.​data[].​namestringnon-emptyrequired
response.​data[].​parentIdany
response.​data[].​userGroupEditany
response.​data[].​userGroupViewDetailsany
response.​data[].​nodeIdnumberrequired
response.​data[].​createDatestringnon-emptyrequired
response.​data[].​createdBynumberrequired
response.​data[].​lastUpdateDatestringnon-emptyrequired
response.​data[].​lastUpdateBynumberrequired
response.​data[].​attribute1stringnon-emptyrequired
response.​data[].​attribute2stringnon-emptyrequired
response.​data[].​attribute3any
response.​data[].​attribute4any
response.​data[].​attribute5any
response.​data[].​attribute6any
response.​data[].​attribute7any
response.​data[].​attribute8any
response.​data[].​attribute9any
response.​data[].​attribute10any
response.​data[].​attribute11any
response.​data[].​attribute12any
response.​data[].​attribute13any
response.​data[].​attribute14any
response.​data[].​attribute15any
response.​data[].​attribute16any
response.​data[].​attribute17any
response.​data[].​attribute18any
response.​data[].​attribute19any
response.​data[].​attribute20any
response.​data[].​attribute21any
response.​data[].​attribute22any
response.​data[].​attribute23any
response.​data[].​attribute24any
response.​data[].​attribute25any
response.​data[].​attribute26any
response.​data[].​attribute27any
response.​data[].​attribute28any
response.​data[].​attribute29any
response.​data[].​attribute30any
response.​data[].​isParentbooleanrequired
response.​statusnumberrequired
Response
application/json
{ "response": { "node": "string", "data": [], "status": 0 } }

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