v1
latestOpenAPI 3.0.02026-07-1498671635.3 KBRestaurants
publicly-accessible
Create or Update Restaurant Fees
Creates or Updates the fees for a restaurant in a particular tenant
put/restaurants/{tenant}/{restaurantId}/fees
Path parameters
tenantstring required
A two-character country code for which country the restaurant resides in.
restaurantIdstring required
A unique identifier for a restaurant
Headers
User-Agentstring
Request header string that allows the server to identify the application making the request.
Request body
Example request
{
"bagFee": {
"description": "A charge for bags in delivery",
"serviceTypes": {
"collection": {
"amount": 5
},
"default": {
"amount": 0
},
"delivery": {
"amount": 10
}
}
}
}Response
Success
Example response
{
"bagFee": {
"description": "A charge for bags in delivery",
"serviceTypes": {
"collection": {
"amount": 5
},
"default": {
"amount": 0
},
"delivery": {
"amount": 10
}
}
}
}