← API Index

Saleoff (Saleout) / Abverkauf

Describes how items are sold off stock, typically limited in the amount for a given delivery day.

We distinguish several types of sale-off in the backend, depending on the scheduled vendor deliveries and stock left. For the POS, it boils down on:

item.saleType:

api

These values can be found in Items. You should poll these item values frequently, if a saletype > 0 is given.

It may happen (in usually rare cases), that submitting an order leads to a clash error response, as other customer(s) did buy all available items shortly before. Plan to catch this circumstance.

References

PCG Classic docu