Revel 2.59 API Updates
almost 5 years ago by Sujin Headrick
Welcome to the 2.59 Revel API changelog!
In Revel 2.59 we've made important updates to products, orders, establishments, and combos. We've also added support for pass through service fees, pre-discount service fees, and KDS redirects.
Please review these updates and update your applications accordingly.
You can learn more about the general 2.59 release here.
Modified Resources
- We've added
apply_to
,pass_through_fee_type
, andinclude_employee_pass_through_fee_in
fields in theAppliedServiceFee
resource to support pass through service fees. Thepost_tax
field no longer has a default value. - The
ComboProductSet
now includes anis_upsell
field, which supports boolean values. Thesurcharge
field is now read-only and may be blank. - We've removed the
master_discount_id
field from theDiscount
resource. - The
Establishment
resource now includes aRUID
field. - We've added
version
,customer_address_distance
, andvirtual_data
fields to theOrder
andOrderAllInOne
resources to support adding an address's distance and internal reporting. - The
combo_type
field in theOrderType
resource is now nullable. - We've added a
kds_redirect
field to thePosStation
resource to support redirecting to a new KDS. This field accepts boolean values. - We've removed the
rrp
andis_local
fields from theProduct
,ProductPurchase
, andViewPurchaseOrderProduct
resources. Also, we've added theproduct_price_in_combo
andsurcharge
fields. - We've removed the
rrp
field from theProductPriceLifeCycleAction
resource. - We've added a
product_modifier_class
field to theProductModifier
resource. You can also filter byproduct_modifier_class
. - The
ServiceFee
resource now includesapply_to
,pass_through_fee_type
,include_employee_pass_through_fee_in
,use_distance
,max_distance
, andmin_distance
fields to support pass through service fees and service fees by distance. Also, theapply_post_tax
field no longer includes a default value. - In the
User
resource, we've added fields forRUID
,is_reseller
,auth0_id
,is_bill_to
, andis_sold_to
Also, thehas_enterprise_access
field is no longer available.
Changes and Bug Fixes
- We've added a
tip_shares
field to the Sales Summary JSON report. - In the Online Ordering suite, the
barcode
is now an accepted value formodifieritems
, along withmodifier_id
.
"modifieritems": [
{
"modifier": "2129714",
"modifier_cost": 0,
"modifier_price": 1,
"qty": 1,
"qty_type": 0,
"admin_mod_key": ""
}
]
- When using a custom transaction ID on the POS for receiptless returns, the custom transaction ID is captured as the
transaction_id
in thePayment
resource. - The
active
field in theVendorEstablishment
field is now set toTrue
by default in POST requests. - Duplicate
barcode
values are no longer allowed forInventoryUnit
POST or PATCH requests. - The
roles
field is only available as a filter forEmployee
GET requests.
Planned Deprecation
We have begun deprecating the Brand
, Device
, KitchenView
, CustomerHistory
, RewardsCardv3
, and InventoryStockAmount
resources. These resources will not be available for third-party developers after our upcoming 2.62 release (tentatively Q2 2020). We discourage you from using these resources. If you are still using them, please reach out to [email protected].