Changing Order Price
If you wish to change the total price of the order please open the following file:
<element> optional elements
param required parameters
param optional parameters
POST /API/order_edit_correction.php?api_id=id&api_key=key HTTP/1.1
(All possible request parameters can be found below)
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="utf-8" ?>
(not essential to use unless specified):
- order ID (essential)
- full amount of the order (it is essential, in some cases might be negative).
It does not modify the order price being set previously (if any was done) but replaces as a correction.
- the correction description, replaces previously submitted description (if any was done).
It is an essential element, if the amount equals zero. If amount=0 and description is empty, the correction is canceled since the order is set to default.
If no error occurs the response field shows the operation status in XML format as following:
- 1 defines success