API - Add Stock Transaction

Update availability


Resource:
/acumulus/stable/stock/stock_add.php
Since API:
Authentication:
API user
Communication:
Basic submit, including below structure


Submit

<?xml version="1.0" encoding="UTF-8"?>
<myxml>
    ...
    <stock>
        <stockdate></stockdate>
        <stockdescription></stockdescription>
        <stockamount></stockamount>
        <productid></productid>
    </stock>
</myxml>

stockdate
Date in YYYY-MM-DD format to identify moment of update.

stockdescription
Descriptive text. Defaults to "Update via Acumulus API".

stockamount
Amount to deduct or add to stock/availability. Use negative numbers for deductions. Allows for 2 digits.

productid Mandatory
Product identifier for which the availability needs to be updated.