Skip to content

Update Data Documentation Item

liqian-simit edited this page Sep 10, 2019 · 3 revisions

Update Item Data

Using CURL in terminal console to update the Item data. (* If there is no data in the data column, user may direct remove the column from the update data array.)

curl --header "Content-Type: application/x-www-form-urlencoded" \
--request POST \
--data '
{
    "action": "updateItemProfile",
    "module": "inventory",
    "token": null,
    "uid": "admin",
    "org": "INTEC",
    "branch": "HQ",
    "data": {
        "header": {
            "item_id": "",
            "item_code": "ITEM_001"
        },
        "line": {
            "sell_price": "1100",
            "purchase_price": "500"
        }
    }
}
' \
https://simbiz_system_url/simbiz/api.php

Clone this wiki locally