Comment on page
This page provides a description of the available API routes for managing stocks.
Each Product (represented by
Plumodel) is associated with stock through its
StockNameproperty. Stocks are represented by
Stockclass and uniquely identified by their names (
stock.Nameproperty). A stock can group multiple products (e.g. stock called "Menu" that contains products that can be listed in cash register and stock called "Material" that contains raw materials and other resources in kitchen). Each product has a unique code (
plu.Codeproperty) within its respective stock.
Get stock by name
Create or update stock
Delete stock by name