Syrve POS API SDK

Item Size

In earlier versions (before 5.0), it was assumed that items are cooked the same way all the time and that all the ingredients and sizes are covered by the recipe. To sell items that may have different sizes, like pizza, pies, beverages, and so on, users had to register each item of each size as a separate item, and so create modifiers for each size and duplicate other item and modifier settings. When editing orders in the POS, users had to remove one item and then add another one in order to change the size. This resulted in the menu having a large number of buttons and reports with many rows. We had to introduce a standalone concept — item size.

The item size is the additional property that defines the ingredients and their quantity, ready-made item output weight, and, therefore, the price. A set of interchangeably used sizes makes the size scale. If an item has a size scale assigned, users need to select one of the sizes from the scale when adding the item. Some items do not have all the sizes available. A modifier size corresponds to the item size, though some modifiers may be unavailable for the selected size.

Key Types

Examples

A size handling example can be found in the Resto.Front.Api.SamplePlugin (EditorTester.AddCompoundItem) plugin as part of the SDK.