Create a Manual Price List

post/add/MPL

Creates a Manual Price List object. The Manual Price List is created without products. Use the /manualpricelistmanager.add/{id} (Add Products to a Manual Price List) endpoint to add products.

Securitybasic or X-PriceFx-jwt
Request
Request Body schema: application/json
operationType
required
string non-empty
textMatchStyle
required
string non-empty
required
object
uniqueName
required
string non-empty
label
string non-empty
validAfter
required
string non-empty
status
required
string non-empty
nodeId
any
oldValues
any
Responses
200

Example response

Response Schema: application/json
object
node
required
string non-empty
csrfToken
string non-empty
required
Array of objects non-empty unique
Array (non-empty)
version
number
typedId
string non-empty
uniqueName
string non-empty
label
string non-empty
validAfter
string non-empty
status
string non-empty
simulationSet
any
nodeId
any
userGroupEdit
any
userGroupViewDetails
any
linkedCFStypedId
any
expiryDate
any
integrationStatus
any
targetDate
any
createdByName
string non-empty
lastUpdateByName
string non-empty
createDate
string non-empty
createdBy
number
lastUpdateDate
string non-empty
lastUpdateBy
number
status
required
number
Request samples
application/json
{
  • "operationType": "add",
  • "textMatchStyle": "exact",
  • "data": {
    • "uniqueName": "MPL01",
    • "label": "The Manual Price List 1",
    • "validAfter": "2021-12-11T14:11:09.060Z",
    • "status": "ACTIVE",
    • "nodeId": null
    },
  • "oldValues": null
}
Response samples
application/json
{
  • "response": {
    • "node": "node",
    • "csrfToken": "token",
    • "data": [
      • {
        • "version": 3,
        • "typedId": "225.MPL",
        • "uniqueName": "MPL01",
        • "label": "The Manual Price List 1",
        • "validAfter": "2021-12-12",
        • "status": "INACTIVE",
        • "simulationSet": null,
        • "nodeId": null,
        • "userGroupEdit": null,
        • "userGroupViewDetails": null,
        • "linkedCFStypedId": null,
        • "expiryDate": null,
        • "integrationStatus": null,
        • "targetDate": null,
        • "createdByName": "admin",
        • "lastUpdateByName": "admin",
        • "createDate": "2021-12-12T15:37:01",
        • "createdBy": 2147490696,
        • "lastUpdateDate": "2021-12-12T17:19:31",
        • "lastUpdateBy": 2147490696
        }
      ],
    • "status": 0
    }
}