Comment on page
☕
Plus
This page provides a description of the available API routes for managing products.
PLU
is common abbreviation for goods or services, sold via cash register system. Each PLU can be uniquely identified by its id
or a combination of the stockName
and code
properties.- 1.Stock item: This refers to a product that can be physically held in stock. Information regarding stock quantity can be linked to PLUs of the stock item type, using
stockQuantity
property. When customers purchase items of this type, the corresponding stock quantities are updated accordingly. - 2.Recipe: A recipe PLU represents a product that is a combination of other stock items and/or recipes. When a single unit of a recipe is sold, one or more products of the stock item type are deducted from the stock, based on
receipt
collection. However, no information related to stock quantity is associated with this particular type of PLU. - 3.Service: This type of PLU represents a product that lacks a physical form. Services, unlike tangible goods, are intangible offerings. They are provided to customers without any physical representation or inventory involvement.
Stock items, recipes, and services can be accessed through the PLU API routes listed below.
get
http://{server-address}
/plus
Get PLUs
get
http://{server-address}
/plus/{id}
Get PLU
post
http://{server-address}
plus
Create PLU
put
http://{server-address}
/plus/{id}
Create or update PLU
delete
http://{server-address}
/plus/{id}
Delete PLU
Last modified 3mo ago