|
als_insert_product_pricing.cgi |
Top Previous Next |
|
Description The als_insert_product_pricing.cgi interface inserts new product pricinginformation. Upon a successful execution of this method the all the fields returned from the als_get_product_pricing.cgi
Note:This is a powerful call with little or no error checking so it is up to you to make sure that you understand the way pricing information is stored and managed by AL-Desk.
Note2: There is no update pricing method to stay in line with the way AL-Desk handles pricing definition.
As is normal for all Put calls a valid webusercode is required along with the following fields:
Taxes AL-Desk provides very flexible methods for computing taxes which translates into a lot of options for setting a formula for tax calculations. For a full understand of tax issues, it is essential that you have experience in using the AL-Desk pricing form.
Taxes can be defined as a fixed amount or a percentage.
Commission on taxes can be
Note: A check is performed to not have an entry for a specific product rate for the same dates that is active. If a duplicate entry is found, an exception will be raised.
Example Usage http://localhost/als_insert_product_rate.cgi?name=Adult&webusercode=1&rate=189
Note: Although productrate information already contains a reference to the product, the Web Portal API requires both a product and product rate as an added check that you are adding pricing for a valid product and rate.
Inputs
Returned Fields
XML Example
|