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. Will set IsExclusive to true as default. Use UpdateCompanyPricelist2 and set PriceList.IsExclusive to false if this is not wanted.
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
}
]