PUT/POST api for inventory
Managing serialized inventory has been a pain for us.
the GET /inventory api returns something like this
{
"prodtype": "1",
"id": "15573890",
"itemno": "1869",
"name": "DC in Board",
"sku": "",
"upccode": "",
"instock": "1",
"taxinclusive": "1",
"taxclass": {
"taxclass": "",
"id": "0",
"taxpercent": ""
},
"warranty": "",
"warrantytimeframe": "",
"supplier": "",
"description": "",
"image": "",
"physicallocation": "",
"totalstock": "1",
"categoryid": "110548",
"manufacturerid": "152436",
"deviceid": "1369871",
"isserialize": 1,
"isPart": true,
"price": "35.00",
"originalprice": "35.00",
"serials": [
{
"serial": "2319dcinboard",
"originalprice": "35.00",
"price": "35.00",
"gst": "0.00"
}
],
"gst": "0.00",
"symboltotal": "$35.00"
},
I would like to be able to POST to inventory so I can batch update serial items, because import/export isn't available for serialized items in inventory import/export
But when you export your inventory, there is no serial items, just the parent item with the quantity: 8, serial: 1, but none of the actual serialized items, so it makes batch editing of serialized items really hard