Updates a PriceList for the specified Company. If the PriceList is not an existingPriceList it will be created. Otherwise it will be updated. Note that only Reseller and Application specific priceLists can be updated. Any attempt to update an other priceList type will be ignored. If no PriceRule is specified, PriceRule 7, use standard price, with no discount will be used. To delete a Company PriceList use DeleteCompanyPricelist.
The priceList to update for the Company. The PriceRule for updated PriceLists will be 'Use standard price (pct discount)' (id:7) if none is supplied.
Success
Internal Server Error
{- "Id": 0,
- "ParentId": 0,
- "Name": "string",
- "Description": "string",
- "Agreement": "string",
- "Type": 0,
- "IsActive": true,
- "PriceRule": {
- "RuleId": 0,
- "Value": 0
}, - "PopulationRules": [
- {
- "RuleId": 0,
- "ManufacturerId": 0,
- "CategoryId": 0,
- "IsSupplierRequired": true,
- "IsInclusive": true
}
], - "CurrencyId": 0,
- "IsExclusive": true
}
[- {
- "Id": 0,
- "ParentId": 0,
- "Name": "string",
- "Description": "string",
- "Agreement": "string",
- "Type": 0,
- "IsActive": true,
- "PriceRule": {
- "RuleId": 0,
- "Value": 0
}, - "PopulationRules": [
- {
- "RuleId": 0,
- "ManufacturerId": 0,
- "CategoryId": 0,
- "IsSupplierRequired": true,
- "IsInclusive": true
}
], - "CurrencyId": 0,
- "IsExclusive": true
}
]