Restaurants
publicly-accessible
Create or Update Restaurant Fees
Changed onCreates or Updates the fees for a restaurant in a particular tenant
put/restaurants/{tenant}/{restaurantId}/fees
Request
- Base URLhttps://uk.api.just-eat.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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": {
"default": {
"amount": 0
},
"collection": {
"amount": 5
},
"delivery": {
"amount": 10
}
}
}
}Response
Success
Example response
{
"bagFee": {
"description": "A charge for bags in delivery",
"serviceTypes": {
"default": {
"amount": 0
},
"collection": {
"amount": 5
},
"delivery": {
"amount": 10
}
}
}
}Changes
- warning
the optional response header
Retry-Afterremoved for the status500
- warning