Revel API Updates Release 2.55 Version 1.1
Introduction
Welcome to the Revel 2.55 API Change Document!
Please use this document to reference the changes that have been made to our API resources, including removed resources and resource changes.
In Version 2.55, we’ve introduced API endpoints related to our new Stocktake functionality API. Please note these endpoints are currently in a Beta phase.
Also, there have been important updates related to the OrderItem, Product and Modifier resources (for use with combo sets), as well as changes in ProductModifier resources.
Lastly, we will be deprecating the Brand, Device, KitchenView, CustomerHistory, RewardsCardV3, InventoryStockAmount resources in our next release (tentatively scheduled for 2.59 in Q1 2020). At that point, these resources will no longer be available for use by third party developers.
Changes from Release 2.55 document version 1.1
This section contains the changes from the document Release 2.55 version 1.1
Planned Resource Deprecation
In future release i.e. Release 2.59, Revel will deprecate the below mentioned API Endpoints for public access in addition to Brand, Device, KitchenView, CustomerHistory.
a. RewardsCardV3
b. InventoryStockAmount
Additional Changes or Bug Fixes
Online Ordering API -
- a. For creating WebOrder POST resources in the “/specialresources/cart/” includes “call_number”. “call_number” value must be an integer. “call_number” attribute is optional.
Example -
{
"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":"Tetst"},
"call_name":"Test"},
"paymentInfo":
{"tip":0,"type":4}
}
Added resources
Stocktake
- /resources/Stocktake/
Fields
Name | Type | Default | Null | Read Only | Unique | Blank | Help Text |
---|---|---|---|---|---|---|---|
status | integer | 0 | False | False | False | False | Integer data. Ex: 2673 |
updated_date | datetime | True | False | False | False | True | A date & time as a string. Ex: "2010-11-10T03:07:43" |
name | string | No default provided | True | False | False | False | Unicode string data. Ex: "Hello World" |
created_date | datetime | True | False | False | False | True | |
establishment | Establishment(FK) | No default provided | False | False | False | False | |
resource_uri | string | No default provided | False | True | False | False |