Sample JSON: DoorDash Single Menu
The following sample shows JSON code using DoorDash with a single menu. 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": "24219649",
"empNum": 45,
"otNum": 5,
"tendNum": 101,
"menus": [
{
"name": {
"en-US": "SampleMenu"
},
"identifier": "DoorDashMenu",
"imageURL": "https://objectstorage.png",
"availability": [{
"dayOfWeek": "Mon",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Tue",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Wed",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Thu",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Fri",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Sat",
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": "Sun",
"startTime": "00:00",
"endTime": "23:59"
}
],
"specialHours":
[
{
"date": "2022-12-31",
"closed": true,
"start_time": "04:00",
"end_time": "08:00"
}
]
}
]
}
]
}
Table 3-2 Data Extensions Column Name
Name | Type | Description |
---|---|---|
deliveryPlatformConfigurations |
DeliveryPlatformConfiguration[] |
Revenue center’s integration configuration for each applicable delivery platform. |
Table 3-3 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-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 3-5 Translated String
Name | Type | Description |
---|---|---|
<locale code> |
string |
String translation for given locale. |
… |
… |
… |
Table 3-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