Objects Pricing Object
Pricing Object Formats
Pricing Object Properties
Required properties are in Bold.
Property | Type | Description |
---|---|---|
{$ProdNum} | string | The property contains the actual product number who's price is to be set. |
Delete | boolean | Optional property. This property is used during a PUT request to remove specific items. This property will never be returned during a GET request. |
Price | decimal | Identifies the price associated with the product identified by ${ProdNum} field. |
Example
{ "1001" : { "Price" : 29.99 }, "1002" : { "Price" : 19.99 } }
In the above example the price of the product identified by the product number 1001 is set to 29.99.
Pricing Logic
When calculating the pricing:
- If an account-specific price is found, that price will be used as the base price.
- If no account-specific pricing exists, the API will then check for tier-specific pricing (if the account is associated with a pricing tier); if a tier-specific price is found, that price will be used as the base price.
- If no tier-specific pricing exists, the API will then check for price list pricing (if the supplied service area has a price list).
- If no price-list exists, the retail price will be used as the base price.