Inventory


Inventory

GET

You can get all inventory details with help of the url with /modules/api/inventory/

And you can get specific stock details with help of this /modules/api/inventory/id      e.g modules/api/inventory/1

POST

/modules/api/inventory/   - It will get you all the existing inventory categories list, The same one with POST for creation of new category.

PUT

You can edit any existing stock with its id like this  /modules/api/inventory/id      e.g modules/api/inventory/1

DELETE

The  same put method url helps you to delete the stock.

 

Categories

GET

You can get all existing categories with help of the url with /modules/api/category/

And you can get specific category with help of this /modules/api/category/id      e.g modules/api/category/1

POST

/modules/api/category/   - It will get you all the existing inventory categories list, The same one with POST for creation of new category.

PUT

You can edit any existing category with its id like this  /modules/api/category/id      e.g modules/api/category/1

DELETE

The  same put method url helps you to delete the category.

Inventory Location

GET - get All the list of locations with help of this one. /modules/api/locations

POST - To add new location to the system  /modules/api/locations

Item Cost

GET - get All the list of locations with help of this one. /modules/api/itemcosts

POST - To add new location to the system  /modules/api/itemcosts

Stock Adjustment

You can adjust the stock with help of this - /modules/api/stock

Stock Movements

That's pretty cool with this one /modules/api/movementtypes


Did you find this article useful?



  • Sales and Customer

    Sales GET Getting sales transactions through the url /modules/api/sales/trans_no/Type  e.g /modules/api/sales/2/10   // here 10 ...

  • Purchases and Suppliers

    Suppliers GET You can get all existing suppliers list with help of the url with /modules/api/suppliers/ And you can get specific&nbs...

  • Bank Accounts

    Bank Accounts GET You can get all existing bank acounts list with help of the url with /modules/api/bankaccounts/ And you can get sp...

  • GL Accounts

    GL Accounts GET You can get all existing GL Accounts list with help of the url with /modules/api/glaccounts/ And you can get specifi...

  • Installation

    Installation Extract the api zip to modules directory and activate it like other modules. Than goto api folder, there within the folder edit the .ht...