---
title: "Create or Update Restaurant Fees"
method: PUT
path: "/restaurants/{tenant}/{restaurantId}/fees"
tags: ["Restaurants", "publicly-accessible"]
---

# Create or Update Restaurant Fees

`PUT /restaurants/{tenant}/{restaurantId}/fees`

## Request

- Base URL: `https://uk.api.just-eat.io`
- URL: `https://uk.api.just-eat.io/restaurants/{tenant}/{restaurantId}/fees`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/just-eat/apis/just-eat-api/docs/restaurants/:tenant/:restaurantId/fees/put.ts> (a function with typed inputs; its response is checked against the schema)

Creates or Updates the fees for a restaurant in a particular tenant

## Path parameters

- `tenant` string, required
- `restaurantId` string, required

## Headers

- `User-Agent` string

## Request body

- RestaurantFees: An object encapsulating all possible fees which a restaurant can apply to itself
  - `bagFee` Fee: The object which encapsulates a Fee
    - `description` string: A description of what the Fee is
    - `serviceTypes` object: Contains Service type specific fee values. If set, default can be used to apply a fee to as yet unspecified service types
      - `default` ServiceTypeFeeConfiguration: Distinct values which are configured for a particular service type
        - `amount` number: The value to apply to the basket for this Fee in the smallest unit of currency
      - `collection` ServiceTypeFeeConfiguration: Distinct values which are configured for a particular service type
        - `amount` number: The value to apply to the basket for this Fee in the smallest unit of currency
      - `delivery` ServiceTypeFeeConfiguration: Distinct values which are configured for a particular service type
        - `amount` number: The value to apply to the basket for this Fee in the smallest unit of currency

## Response `200`

Success

- RestaurantFees: An object encapsulating all possible fees which a restaurant can apply to itself
  - `bagFee` Fee: The object which encapsulates a Fee
    - `description` string: A description of what the Fee is
    - `serviceTypes` object: Contains Service type specific fee values. If set, default can be used to apply a fee to as yet unspecified service types
      - `default` ServiceTypeFeeConfiguration: Distinct values which are configured for a particular service type
        - `amount` number: The value to apply to the basket for this Fee in the smallest unit of currency
      - `collection` ServiceTypeFeeConfiguration: Distinct values which are configured for a particular service type
        - `amount` number: The value to apply to the basket for this Fee in the smallest unit of currency
      - `delivery` ServiceTypeFeeConfiguration: Distinct values which are configured for a particular service type
        - `amount` number: The value to apply to the basket for this Fee in the smallest unit of currency

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-07-13** `4b25c7d97a53`: 1 warning
  - the optional response header `Retry-After` removed for the status `500`

[Operation history](https://skmtc.dev/just-eat/apis/just-eat-api/changes/restaurants/:tenant/:restaurantId/fees/put.md)

---

[API](https://skmtc.dev/just-eat/apis/just-eat-api.md) - [All operations](https://skmtc.dev/just-eat/apis/just-eat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/just-eat/apis/just-eat-api/revisions/4b25c7d97a53?raw)
