Price List Query Object
Price List Object Formats
JSON Format
{ "ISOCurrencySymbol": "", "Name": "", "PriceListID": "", "Prices": { "{$ProdNum}": { "Price": 0.0, "Delete": false } }, "PriceListSize": 100, "TotalProducts": 1000 }
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 | Identifies the name of the service area | |||||||||||||||
PriceListID | string | Identifies the price list associated with the service area | |||||||||||||||
Prices | object | Contains the product prices associated with the price list. This object is keyed on the Product Number.
| |||||||||||||||
PriceListSize | int | Identifies the total number of products in the price list | |||||||||||||||
TotalProducts | int | Identifies the total number of products in the product catalog |
Example
{ "ISOCurrencySymbol": "", "Name": "", "PriceListID": "", "Prices": { "900": { "Price": 20.0 }, "901": { "Price": 29.99 }, "902": { "Price": 39.99 } } }
In the above example the price of the product identified by the product number 901 is set to 29.99.