Sample JSON: DoorDash Multiple Menus
The following sample shows JSON code using DoorDash with multiple menus. 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": "DoorDash",
"groupIdentifier": null,
"rvcIdentifier": "ba029dd5-a533-4201-a67a-4b3f992844d7",
"empNum": 17,
"otNum": 6,
"tendNum": 5,
"menus": [
{
"name": {
"en-US": "BreakfastDD"
},
"identifier": "DoorDash",
"imageURL": "https://objectstorage.jpg",
"availability": [{
"dayOfWeek": "Mon",
"startTime": "02:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Tue",
"startTime": "04:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Wed",
"startTime": "07:00",
"endTime": "09:59"
},
{
"dayOfWeek": "Thu",
"startTime": "08:00",
"endTime": "11:59"
},
{
"dayOfWeek": "Fri",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Sat",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Sun",
"startTime": "12:00",
"endTime": "23:59"
}
]
},
{
"name": {
"en-US": "LunchDD"
},
"identifier": "DoorDash2",
"imageURL": "https://objectstorage.us-ashburn-1.oraclecloud.com/n/idvvfekwvhut/b/bt-sim-200707075021-Ram/o/Ram200707075020060.jpg",
"availability": [{
"dayOfWeek": "Mon",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Tue",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Wed",
"startTime": "12:15",
"endTime": "14:59"
},
{
"dayOfWeek": "Thu",
"startTime": "12:15",
"endTime": "15:30"
},
{
"dayOfWeek": "Fri",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Sat",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Sun",
"startTime": "12:00",
"endTime": "23:59"
}
]
},
{
"name": {
"en-US": "DinnerDD"
},
"identifier": "DoorDash3",
"imageURL": "https://objectstorage.us-ashburn-1.oraclecloud.com/n/idvvfekwvhut/b/bt-sim-200707075021-Ram/o/Ram200707075020060.jpg",
"availability": [{
"dayOfWeek": "Mon",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Tue",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Wed",
"startTime": "19:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Thu",
"startTime": "19:00",
"endTime": "22:30"
},
{
"dayOfWeek": "Fri",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Sat",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Sun",
"startTime": "12:00",
"endTime": "23:59"
}
],
"specialHours":
[
{
"date": "2022-06-27",
"closed": true,
"start_time": "04:00",
"end_time": "08:00"
}
]
}
]
}
]
}
Table 3-7 Data Extensions Column Name
Name | Type | Description |
---|---|---|
deliveryPlatformConfigurations |
DeliveryPlatformConfiguration[] |
Revenue center’s integration configuration for each applicable delivery platform. |
Table 3-8 Delivery Platform Configuration
Name | Type | Description |
---|---|---|
name |
string |
DoorDash Do not change this value. |
groupIdentifier |
string |
Set to null because the object does not apply to DoorDash. |
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 |
Set to -1 because the object is not valid for DoorDash. Do not change this value. |
tendNum |
number |
Object number for Tender Media to be used to settle orders received from the delivery platform. |
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 3-9 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 3-10 Translated String
Name | Type | Description |
---|---|---|
<locale code> |
string |
String translation for given locale. |
… |
… |
… |
Table 3-11 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