Copy Price List Object
Copy Price List Object Formats
Price List Object Properties
Required properties are in Bold.
Property | Type | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ISOCurrencySymbol | string | The three-character ISO 4217 currency symbol associated with the price list. The default value is USD if this property is not specified. | ||||||||||||||||||||||
Name | string | Contains the name for the price list | ||||||||||||||||||||||
PriceAdjustments | collection | Contains price adjustments to be applied to source price list.
| ||||||||||||||||||||||
PriceListID | string | This property uniquely identifies the price list | ||||||||||||||||||||||
PriceOverride | object | Contains the product price overrides associated with the price list. This object is keyed on the Product Number.
|
PriceAdjustments or PriceOverride property must be present in the Copy Price List object.
Example
{ "ISOCurrencySymbol": "USD", "Name": "", "PriceAdjustments": [{ "ProdType": "1001", "Operator": "+", "Value": 10 }], "PriceListID": "", "PriceOverride": { "900": { "Price": 29.99 }, "901": { "Delete": true } } }
In the above example the price of all the products with ProdType = 1001 will increased by 10. Price overrides will set the price of the product identified by the product number 901 to 29.99. Product with product number 901 will be removed from price list.