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

Advanced Configuration Options

Operations

Data Manager

Operations

Upload a Bulk Data to Data Source

Request

Uploads a chunk (batch) of data from a client resource to the storage reserved for a particular Data Source.

The uploaded data is not immediately transfered to the Data Source database table. Instead it is held (‘buffered’) in a staging area, until an explicit flush command is issued (refer to the /datamart.rundataload endpoint, "type": "DS_FLUSH"), or a Datamart dependent on the Data Source data is refreshed.

Security
basic or X-PriceFx-jwt
Path
datasourceUniqueNamestringrequired

The unique name of the Data Source where you want to upload the data to. You can also use typedId or the source name.

Bodyapplication/json
dataobjectrequired
data.​headerArray of stringsrequired

Specify header field names (table columns) of the record in the target Data Source.

data.​optionsobject

Specify options of the bulk data insertion.

data.​dataArray of objectsrequired

The data as a list of lists, with the inner lists representing rows, its field values appearing in the same order as specified in the header list.

curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/datamart.loaddata/{datasourceUniqueName}' \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "header": [
        "sku",
        "label",
        "attribute1",
        "attribute2"
      ],
      "options": {
        "detectJoinFields": true
      },
      "data": [
        [
          "11111",
          "Label One",
          "EA",
          "USD"
        ],
        [
          "22222",
          "Label Two",
          "EA",
          "EUR"
        ],
        [
          "33333",
          "Label Three",
          "EA",
          "CZK"
        ]
      ]
    }
  }'

Responses

OK

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

Run a Data Load

Request

Schedules a Data Load for immediate (but asynchronous) execution.

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/datamart.rundataload \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "version": 0,
      "typedId": "2147483666.DMDL",
      "label": "Product",
      "type": "DS_FLUSH",
      "targetName": "DMDS.Product",
      "sourceName": "DMF.Product",
      "withTargetSnapshot": false,
      "schedules": [],
      "numberOfItems": 0,
      "calculationConfig": {
        "feederInputParams": [],
        "inputParams": [],
        "mappingParams": [],
        "outputElements": []
      },
      "requestTime": 1488985402000,
      "lastUpdateTime": 1488985402000,
      "createDate": "2017-03-08T15:03:22",
      "createdBy": 2147483649,
      "lastUpdateDate": "2017-03-08T15:03:22",
      "lastUpdateBy": 2147483649,
      "status": "DRAFT",
      "isDefault": true,
      "incremental": true,
      "distributed": false,
      "continuous": false,
      "valid": true,
      "isPlasma": false,
      "incLoadDate": "2021-12-09T11:08:01.600Z"
    }
  }'

Responses

OK

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

Save a Data Load

Request

Updates an existing Data Load.

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/datamart.updatedataload \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "version": 2,
      "typedId": "2147484683.DMDL",
      "label": "DL01",
      "type": "DS_PRODUCTS",
      "targetName": "DMDS.DS001",
      "withTargetSnapshot": false,
      "calcItemsLookupTableId": 2147484066,
      "schedules": [],
      "numberOfItems": 0,
      "calculationConfig": {
        "feederInputParams": [],
        "inputParams": [],
        "mappingParams": [],
        "outputElements": []
      },
      "requestTime": 1638456932000,
      "lastUpdateTime": 1638456932000,
      "createDate": "2021-12-02T14:55:32",
      "createdBy": 2147490696,
      "lastUpdateDate": "2021-12-02T14:55:32",
      "lastUpdateBy": 2147490696,
      "status": "DRAFT",
      "isDefault": false,
      "incremental": true,
      "distributed": false,
      "continuous": false,
      "valid": false,
      "isPlasma": false
    }
  }'

Responses

OK

Bodyapplication/json
responseobject
Response
application/json
{ "response": { "node": "pricefx-cluster-app-frontend-f465f654b-wjkpv", "data": [], "status": 0 } }

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

Operations

Product Image

Operations

Configuration

Operations

Internationalization

Operations

Metadata

Operations

MCP

Operations

Clicmanager

Operations

Comments

Operations

Notifications

Operations

Heartbeat

Operations

Key-Value Store

Operations

Entities

otherSchemas

Schemas