'INTR' Warehouse when creating a new stock item

API Version 11.04

Now its possible to add warehouse for items in endpoints:

  • POST v1/inventory - add to payload :
"warehouseDetails": [{
   "warehouse":{ "value": "string" },
   "isDefault":{ "value": boolean }}
]
  • PUT v1/inventory/[inventoryNumber] and PUT v1/inventory/internal/[inventoryID] - add to payload :
"warehouseDetails": [{
   "operation": "Insert" / "Update",
   "warehouse":{ "value": "string" },
   "isDefault":{ "value": boolean }}
]