Version
| Endpoint | Description | 
|---|---|
| GET /v1/version/ | get version | 
Products
| Endpoint | Description | 
|---|---|
| GET /v1/products/{product_code} | View product by ID | 
| GET /v1/products/ | List of all products | 
| POST /v1/products/ | Add new product | 
| POST /v1/products/{product_code} | Update a product | 
| DELETE /v1/products/{product_code} | Delete a product | 
Warehouses
| Endpoint | Description | 
|---|---|
| GET /v1/warehouses/{id_warehouse} | View a warehouse by ID | 
| GET /v1/warehouses/ | List of all warehouses | 
| POST /v1/warehouses/ | Add new warehouse | 
| POST /v1/warehouses/{id_warehouse} | Update a warehouse | 
| DELETE /v1/warehouses/{id_warehouse} | Delete a warehouse | 
Customers
| Endpoint | Description | 
|---|---|
| GET /v1/customers/{id_customer} | View customer by ID | 
| GET /v1/customers/ | List of all customers | 
| POST /v1/customers/ | Add new customer | 
| POST /v1/customers/{id_customer} | Update a customer | 
| DELETE /v1/customers/{id_customer} | Delete a customer | 
Batches
| Endpoint | Description | 
|---|---|
| GET /v1/batches/{batch_number} | View batch by ID | 
| POST /v1/batches/filter?headers={headers} | Filter batches on server | 
| GET /v1/batches/?headers={headers} | List of batches | 
| POST /v1/batches/ | Add a new batch | 
| POST /v1/batches/{batch_number} | Update batch header | 
| DELETE /v1/batches/{batch_number} | Delete batch | 
Warehouse documents
| Endpoint | Description | 
|---|---|
| GET /v1/docs/{doc_number} | View a warehouse document by ID | 
| POST /v1/docs/filter?headers={headers} | Filter warehouse documents on server | 
| GET /v1/docs/?headers={headers} | List of warehouse documents | 
| POST /v1/docs/ | Add new warehouse document | 
| POST /v1/docs/{doc_number} | Update warehouse document | 
| DELETE /v1/docs/{doc_number} | Delete warehouse document | 
Warehouse document items
| Endpoint | Description | 
|---|---|
| GET /v1/doc_items/{item_number} | View warehouse document item by IDs | 
| GET /v1/doc_items/ | List of warehouse document items | 
| POST /v1/doc_items/ | Add new item to warehouse document | 
| POST /v1/doc_items/{item_number} | Update warehouse document item | 
| DELETE /v1/doc_items/{item_number} | Delete warehouse document item | 
Inventory
| Endpoint | Description | 
|---|---|
| POST /v1/inventory/movements/filter | Warehouse movements | 
| POST /v1/inventory/filter | Warehouse status | 
Stocktakings
| Endpoint | Description | 
|---|---|
| GET /v1/stocktakings/?date={date}&id_warehouse={id_warehouse}&headers={headers} | View stocktaking by ID | 
| GET /v1/stocktakings/list?headers={headers} | List of stocktakings | 
| DELETE /v1/stocktakings/?date={date}&id_warehouse={id_warehouse} | Delete stocktaking | 
| POST /v1/stocktakings/diff | Generate stocktaking diff items | 
| GET /v1/stocktakings/diff?date={date}&id_warehouse={id_warehouse}&nonzero={nonzero} | List of stocktaking diff items | 
| POST /v1/stocktakings/ | Save stocktaking | 
Documents
| Endpoint | Description | 
|---|---|
| GET /v1/documents/{document_number} | View a document by document number | 
| GET /v1/documents/?state={state} | List of documents | 
| POST /v1/documents/ | Add new document | 
| POST /v1/documents/{document_number} | Update a document | 
| GET /v1/documents/acquire/{document_number} | Acquire document | 
| GET /v1/documents/close/{document_number} | Close document | 
| DELETE /v1/documents/{document_number} | Delete a document | 
Changes
| Endpoint | Description | 
|---|---|
| GET /v1/changes/ | List of data changes | 
Overview
| Endpoint | Description | 
|---|---|
| GET /v1/overview/docs_and_stocktaking?id_warehouse={id_warehouse} | View docs and stocktakings | 
| GET /v1/overview/monthly_movement?date_from={date_from} | View monthly movement | 
| GET /v1/overview/product_category | View products by category | 
| GET /v1/overview/wh_status | View warehouse status | 


