Sample JSON: Deliveroo
The following sample shows JSON code for Deliveroo. The tables that follow the code sample describe the values in the code.
Tip:
Click Copy to copy the code to your clipboard and then paste it into a text editor such as Notepad++. Change the values for your restaurant and then copy your code into theDeliveryPlatformConfigurationData
column as described
in Creating Delivery Configuration in the Revenue Center.
{
"deliveryPlatformConfigurations": [
{
"name": "Deliveroo",
"groupIdentifier": "my-brand-gb",
"rvcIdentifier": "my-brand-gb-531168",
"empNum": 991,
"otNum": 5,
"remakeOtNum": 6,
"tendNum": 13,
"discountId": 2,
"menus": [{
"name": {
"en-US": "All Day"
},
"identifier": "DeliverooAllDay",
"imageURL": "https://oracleobjectstore.com/images/deliveroo-all-day-menu.jpg",
"availability": null
}
]
} // End of Deliveroo
]
}
Table 2-2 Data Extensions Column Name
Name | Type | Description |
---|---|---|
deliveryPlatformConfigurations |
DeliveryPlatformConfiguration[] |
Revenue center’s integration configuration for each applicable delivery platform. |
Table 2-3 Delivery Platform Configuration
Name | Type | Description |
---|---|---|
name |
string |
Deliveroo Do not change this value. |
groupIdentifier |
string |
Name of the grouping of restaurants by brand name and country. This value consists of the brand name and the country code. |
rvcIdentifier |
string |
Identifier for the revenue center. This is the Site ID obtained during the registration process. |
empNum |
number |
Object number for employee to be used to enter orders received from the delivery platform. |
otNum |
number |
Object number for Order Type to be used for orders received from the delivery platform. |
remakeOtNum |
number |
Object number for Order Type to be used for "remake" orders received from the delivery platform. |
tendNum |
number |
Object number for Tender Media to be used to settle orders received from the delivery platform. |
discountId |
number |
Object number for Discount to be used for open discount promotion orders received from the delivery platform. The discountId is required. |
menus |
DeliveryPlatformMenu[] |
Details for menu(s) to be submitted to the delivery platform. Make sure to follow any limitations imposed by the delivery platform on the number of menus. |
Table 2-4 Delivery Platform Menu
Name | Type | Description |
---|---|---|
name |
TranslatedString |
Display name for menu by locale. |
identifier |
string |
Identifier for menu to be used in tags. Make sure the identifier does not conflict with tags used for other purposes. |
imageURL |
string |
URL for image associated with menu. Upload the menu image to the Oracle Object Store through a dummy menu item. |
availability |
ServicePeriod[] |
Start and end times for each day of the week that the menu is to be made available. |
Table 2-5 Translated String
Name | Type | Description |
---|---|---|
<locale code> |
string |
String translation for given locale. |
… |
… |
… |
Table 2-6 Service Period
Name | Type | Description |
---|---|---|
dayOfWeek |
string |
First three letters of day of week for service period. |
startTime |
string |
Start time for service period, in 24-hour (hh:mm) format. |
endTime |
string |
End time for service period, in 24-hour (hh:mm) format. End time must be later than start time. |
Parent topic: Creating Delivery Configuration in the Revenue Center