Adds products to the Live Price Grid.
Information: Only products that are not already in the Price Grid will be added. You can specify products by
skus
(see the example 1 below) or by filter settings (see example 2).
Example 1:
Adds only products with specified SKUs.
{
"data":{
"skus":[
"p0001",
"p0002"
]
}
}
Example 2:
Adds only products where formulaName
= "CompetitionPricing".
{
"data":{
"filterCriteria":{
"operator":"and",
"criteria":[
{
"fieldName":"formulaName",
"operator":"iEquals",
"value":"CompetitionPricing"
}
]
}
}
}
To add items without a recalculation, use the /pricegridmanager.add/{id}/norecalc endpoint.
Required Permission | Roles with the Required Permission |
---|---|
PRICEGRID_ADD | Edit LPG & Add Products (PB_PRICEGRIDEDITOR_ADD_SKU ), Administer LPG (PB_PRICEGRIDS ) |
{- "data": {
- "filterCriteria": {
- "operator": "and",
- "criteria": [
- {
- "fieldName": "formulaName",
- "operator": "iEquals",
- "value": "CompetitionPricing"
}
]
}
}
}
{- "response": {
- "node": "string",
- "data": null,
- "status": 0
}
}