Inserts a new PriceList for the specified Company. If the PriceList is an existing PriceList it will be connected to the Company. Otherwise it will be created.
The priceList to insert for the Company. The PriceRule for new 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
}
]