Pricefx REST API Reference
The Pricefx Backend API
Download OpenAPI description
Overview
URL
Pricefx
Languages
Servers
Mock server
https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi
URL:
https://{baseUrl}/pricefx/{partition}
Request
Updates sellerId of the specified Seller Extension. The version property must be provided within the oldValues.
Security
basic or X-PriceFx-jwt
- 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
application/json
{ "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
application/json
{ "response": { "node": "e2e-templates-node", "data": [ … ], "status": 0 } }
Request
Uploads a CSV or XLSX file to the Seller Extensions table.
Delete the upload slot using the /uploadmanager.deleteslot/{slot_id} (Delete an Upload Slot) endpoint after the file has been uploaded.
Security
basic or X-PriceFx-jwt
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/importfile/SX/{SXCategory}/{slotId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/importfile/SX/{SXCategory}/{slotId}
- 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/importfile/SX/{SXCategory}/{slotId}?truncate=string' \
-H 'Content-Type: multipart/form-data' \
-F fileName=stringSee the Key-Value Database Storage Knowledge Base article for more details.
Operations
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