Pricefx REST API Reference
The Pricefx Backend API
Request
Retrieves all Seller Extensions.
You can choose fields to be returned in the response by employing the resultFields or valueFields filter:
resultFields: returns key-value pairs as objects. This is the more friendly response compared to valueFields but the server fetches all fields from the database in the backend which might result in a slower performance. See the List Customers' listCustomersResponseExample_resultFields response example.
valueFields: returns just an array of values. Use this option if a better performance is required. See the List Customers' listCustomersResponseExample_valueFields response example.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/sellermanager.fetch/*/SX/{SXCategory}
- URL:https://companynode.pricefx.com/pricefx/companypartition/sellermanager.fetch/*/SX/{SXCategory}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
'https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/sellermanager.fetch/*/SX/SalesOrganization'{ "response": { "status": 0, "node": "node", "data": [ … ], "endRow": 1 } }
Request
Updates sellerId of the specified Seller Extension. The version property must be provided within the oldValues.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/update/SX
- URL:https://companynode.pricefx.com/pricefx/companypartition/update/SX
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/update/SX \
-H 'Content-Type: application/json' \
-d '{
"data": {
"sellerId": "Seller024",
"typedId": "4.SX3"
},
"oldValues": {
"version": 0,
"typedId": "4.SX3",
"name": "SXTest",
"sellerId": "Seller0233",
"createDate": "2022-06-14T12:57:21",
"createdBy": 2147490696,
"lastUpdateDate": "2022-06-14T12:57:21",
"lastUpdateBy": 2147490696,
"attribute1": null,
"attribute2": null,
"attribute3": null
},
"operationType": "update",
"textMatchStyle": "exact"
}'{ "response": { "node": "node", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/delete/SX
- URL:https://companynode.pricefx.com/pricefx/companypartition/delete/SX
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/delete/SX \
-H 'Content-Type: application/json' \
-d '{
"data": {
"typedId": "string"
}
}'{ "response": { "node": "e2e-templates-node", "data": [ … ], "status": 0 } }
See the Key-Value Database Storage Knowledge Base article for more details.
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.
Comments