Adjustments
You can use the API to adjust the item quantities tracked in FoodStorm when items are sold through an external source, such as a point-of-sale (POS) system. Use this API to integrate transactions from your external source with FoodStorm.
For the FoodStorm system to identify and complete a match between an item ordered in FoodStorm and the item specified in the request to the Add an Adjustment endpoint, the following order conditions in FoodStorm must be met:
- Order must be pick up
- Order status must be “Complete”
- Order not paid or partially paid
- Order and POS sites match
- Order must contain exact item and quantity as per POS transaction
- Order hasn’t previously matched against another
transaction_id
- Order completion timestamp occurs before the POS transaction timestamp
- Order completion timestamp is within 120 minutes before the POS transaction timestamp
When no eligible order is found, the process assumes an on-the-floor sale rather than a FoodStorm order, and a negative adjustment is applied to the quantity limit recorded against the menu item.
Related topics