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

Actions

Operations

Action Types

Operations

Price Lists

Operations

Manual Price Lists

Operations

Live Price Grids

Operations

Calculation Grids

Operations

Deny a Calculation Grid Item

Request

Denies the CalculationGridItems to the workflow.


Required PermissionRoles with the Required Permission
CALCULATIONGRID_SUBMITEdit Calculation Grid & Add Products (CALCULATIONGRID_ADD), Edit CG (PB_CALCULATIONGRIDEDITOR), Administer CG (PB_CALCULATIONGRIDS)
Security
basic or X-PriceFx-jwt
Path
idstringrequired

The id of the Calculation Grid you want to deny items for. You can retrieve the id of the CG, for example, by calling the /fetch/CG endpoint.

Bodyapplication/json
dataobjectrequired
data.​idsArray of objectsrequired

Specify typedIds of items you want to deny.

curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/calculationgridmanager.reject/{id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "ids": [
        "12.CGI",
        "13.CGI",
        "17.CGI",
        "18.CGI",
        "19.CGI"
      ]
    }
  }'

Responses

OK - In case that more than one item is passed in the request, the body will not contain any data ("data":null). For a single item, the new CalculationGridItem object is returned.

OK

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

Delete a Calculation Grid Item

Request

Deletes the specified Calculation Grid Item. Returns the deleted CGI object in the response.

Security
basic or X-PriceFx-jwt
Path
keyNumberstringrequired

Use CGI1..CGI6 in the path, where numbers from 1 to 6 refer to Calculation Grid Item keys.

Enum"1""2""3""4""5""6"
Bodyapplication/json
dataobjectrequired
data.​typedIdstringrequired

typedId of the CGI you want to delete.

Example: "99.CGI3"
operationTypestringrequired
Example: "remove"
curl -i -X POST \
  -u <username>:<password> \
  'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/delete/CGI{keyNumber}' \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "typedId": "4.CGI6"
    },
    "operationType": "remove"
  }'

Responses

OK

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

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