Revel 2.55 API Updates
Welcome to the 2.55 Revel API changelog!
In Version 2.55, we’ve introduced API endpoints related to our new Stocktake functionality. Please note these endpoints are currently in beta and will be refined in future releases.
We've also made important updates related to the OrderItem, Product and Modifier resources (for use with combo sets), as well as changes in ProductModifier resources. Please review these updates and update your applications accordingly.
You can learn more about the general 2.55 release here.
Added Resources
We've introduced API endpoints related to our new Stocktake functionality. Endpoints include:
Stocktake- create a stocktake or request information about an existing stocktake (what about past stocktakes--not physical inventories?)StocktakeItem- add, edit, or remove an item from a stocktakeStocktakeScannedItem- records scanned items, check if an items has been scanned, or retrieve information about scanned itemsStocktakeSection- supports creating, editing, and viewing information about stocktake sections, whether or not they're part of a stocktake in progressStocktakeSectionTable- information about stocktake tables
Modified Resources
ComboProductSet- added fields and removed fields- We've removed the
cc_numberfield from theCustomerresource. - In the
Deviceresource, we've made some changes to thethird_party_idfield. - We've added some fields to the
KitchenViewresource to accommodate the new paid stamps, stale timers on expedite view. - In the
Modifiersresource, we've changed the default value of theprintersfield fromFalsetoTrue. - We've added
split_combo_datainformation to theModifierItemto work with the new split combos feature. - We've added
combo_type,parent_combo_uuid, andcombo_fraction_partfields to theOrderItemresource to work with split combos. - In the
OrderItemCateringresource, we've addedcatering_for_child_orderitemsandmodifieritems. We've also added support for the GET HTTP method to simply fetch data. - The
PosStationresource now includes anenable_new_kioskfield to enable the Kiosk XT. - The
Productresource now includes alist_printersfield, which can be populated with a list of data. Theis_combofield has also been modified to include support for split combos and is no longerFalseby default. Theprintersfield value has been modified. - The
ProductModifierresource now includesproductandestablishmentfields. In addition, theproduct_modifier_classnow has a default value ofTrue. You can also filter by product and establishment, but no longer byproduct_modifier_class. - The
ProductPurchaseresource now has alist_printersfield, which can be populated with a list of data. Theis_combofield has also been modified to include support for split combos and is no longerFalseby default. - The
Roleresource now includes arankfield. - The
ServiceFeeresource now includes avariable_feefield as part of Revel's support for variable service fees. In addition, thequalification_product_groupsandqualification_product_classesfields are nowFalse. - The
ViewPurchaseOrderProductnow includes alist_printersfield, which can be populated with a list of data. Theis_combofield has also been modified to include support for split combos and is no longerFalseby default.
Changes and Bug Fixes
The ProductRecipe and IngredientRecipe resources currently do not support creating duplicate recipes for the same Product and Ingredient via the API.
We've added a Manager field to the Voids_Summary JSON report.
In the Online Ordering API, When creating WebOrder POST resources in the /specialresources/cart/ includes a call_number field, which is optional but must be an integer.
{
"establishmentId":1,
"call_number": "8",
"items":[
{"modifieritems":[],
"special_request":"",
"price":5,
"product":15,
"quantity":1
],
"orderInfo":
{"created_date":"2019-06-12T13:40:47",
"pickup_time":"2019-06-12T14:10:47",
"dining_option":0,
"notes":"",
"asap":true,
"customer": {"phone":"5555555555",
"email":"[email protected]",
"first_name":"Test",
"last_name":"Test"},
"call_name":"Test"},
"paymentInfo":
{"tip":0,"type":4}
}
Removed Resources
We've removed the ItemTrackingReport resource.
Planned Deprecation
We will be deprecating public access to the Brand, Device, KitchenView, CustomerHistory, RewardsCardV3, and InventoryStockAmount resources in our next release, tentatively scheduled for 2.59 in Q1 2020.