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 the DeliveryPlatformConfigurationData 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,
            "menus": [{
                    "name": {
                        "en-US": "All Day"
                    },
                    "identifier": "DeliverooAllDay",
                    "imageURL": "https://oracleobjectstore.com/images/deliveroo-all-day-menu.jpg",
                    "availability": null
                }
            ]
        } // End of Deliveroo
    ]
}

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

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.

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.