API - Add Stock Transaction
Update availability
Resource:
/acumulus/stable/stock/stock_add.php
Since API:
Available for authenticated:
API invoerder
Available for authenticated:
API gebruiker
Available for authenticated:
API beheerder
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.
Response
stockamount
Actual amount stock/availability.
productid Mandatory
Product identifier for which the stock is applicable