Sample JSON: Uber Eats

The following sample shows JSON code for Uber Eats. 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 the Delivery Configuration in the Revenue Center.
{
    "deliveryPlatformConfigurations": [
           {
            "name": "Uber Eats",
            "groupIdentifier": null,
            "rvcIdentifier": "984e0f54-64dc-15T3-e348-16942gs5arn5",
            "empNum": 990,
            "otNum": 4,
            "remakeOtNum": -1,
            "tendNum": 101,
            "menus": [{
                    "name": {
                        "en-US": "AllDayMenu"
                    },
                    "identifier": "UberEatsAllDayMenu",
                    "imageURL": null,
                    "availability": [{
                            "dayOfWeek": "Mon",
                            "startTime": "00:00",
                            "endTime": "23:00"
                        },{
                            "dayOfWeek": "Tue",
                            "startTime": "00:00",
                            "endTime": "23:00"
                        },{
                            "dayOfWeek": "Wed",
                            "startTime": "00:00",
                            "endTime": "23:00"
                        },{
                            "dayOfWeek": "Thu",
                            "startTime": "00:00",
                            "endTime": "23:00"
                        },{
                            "dayOfWeek": "Fri",
                            "startTime": "00:00",
                            "endTime": "23:00"
                        },{
                            "dayOfWeek": "Sat",
                            "startTime": "00:00",
                            "endTime": "23:00"
                        }, {
                            "dayOfWeek": "Sun",
                            "startTime": "00:00",
                            "endTime": "23:00"
                        }
                    ]
                }
            ]
        }
    ]
}

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

Uber Eats

Do not change this value.

groupIdentifier

string

Set to null because the object does not apply to Uber Eats.

rvcIdentifier

string

Identifier for 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 Uber Eats. 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 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.

Ensure that the identifier will not conflict with tags used for other purposes.

imageURL

string

Uber Eats does not support a menu image. Set to null because the image URL does not apply to Uber Eats.

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.