> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.lettbestilt.no/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.lettbestilt.no/_mcp/server.

# Get a menu

GET https://www.lettbestilt.no/api/v1/partner/restaurants/{slug}/menus/{menuId}

**Partner key + restaurant key.** The whole menu in the same shape as `GET /api/v1/menu`, also when it is turned off, including inactive categories and products (`isActive`/`isAvailable` on each). Subcategories (`parentId`) are not included, as in `/api/v1/menu`. Prices in øre.

Reference: https://docs.lettbestilt.no/api-reference/partner/get-partner-menu

## Authentication

- `Authorization` header (bearer token, required) — The partner key (`lbp_test_…` or `lbp_live_…`), sent as `Authorization: Bearer lbp_…` and created in LettBestilt Partner under **Partner key**. It belongs to the whole partner, not to a restaurant, and only works against `/api/v1/partner`. Server to server only: a request with an `Origin` header is rejected with `403 FORBIDDEN`, and the key must never be in a browser. A TEST key sees and creates only sandboxes; LIVE keys work once LettBestilt Partner is open. A suspended or archived partner, a revoked key and a restaurant key (`lbs_…`) here give `401 UNAUTHORIZED`; an expired key gives `401 KEY_EXPIRED`.
- `X-LettBestilt-Restaurant-Key` header (required) — The restaurant's own key (`lbs_test_…` or `lbs_live_…`) for calls about one restaurant in the partner API, sent together with the partner key. The key must have full access (scope `*`, otherwise `403 INSUFFICIENT_SCOPE`), belong to a restaurant the partner owns and be in the same environment as the partner key. A restaurant that does not exist, belongs to another partner or does not match the key always gives the same `404 RESTAURANT_NOT_FOUND`. Older keys without an environment in the prefix (`lbs_<random>`) are not accepted here; rotate them in LettBestilt Partner.

## Request

### Path parameters

- `slug` (string, required) — The restaurant's slug. It must match the restaurant key in `X-LettBestilt-Restaurant-Key`.
- `menuId` (string, required) — The menu's `id`.

## Response

### 200

The menu.

- `data` (PartnerMenuDetails, required) — The whole menu in the same shape as `GET /api/v1/menu`, whether or not it is active. Inactive categories and products and unavailable addons are included. Subcategories (categories with `parentId`) are not included, as in `/api/v1/menu`.

## Errors

### 401 Unauthorized Error

`UNAUTHORIZED`: a key is missing, invalid or revoked, the two keys are from different environments (TEST and LIVE), or the partner is suspended or archived. `KEY_EXPIRED`: a key is past its expiry date.

- `error` (ErrorBody, required)

### 403 Forbidden Error

`FORBIDDEN`: the request has an `Origin` header (server to server only). `PARTNER_AGREEMENT_REQUIRED`: a LIVE key, but the partner agreements are not signed. `PARTNER_NOT_APPROVED`: LettBestilt has not approved the partner yet (all keys). `INSUFFICIENT_SCOPE`: the restaurant key does not have full access (`error.details.requiredScope` is `"*"`).

- `error` (ErrorBody, required)

### 404 Not Found Error

`RESTAURANT_NOT_FOUND` (the slug does not exist, belongs to another partner or does not match the restaurant key), or `MENU_NOT_FOUND` (the menu does not exist or belongs to another restaurant).

- `error` (ErrorBody, required)

### 429 Too Many Requests Error

`RATE_LIMITED`: more than 120 calls per minute for this partner key, or more than 600 per minute for the partner across all its keys (reads and writes). Writes also share a bucket of 30 changes per minute per partner and environment. See `Retry-After`.

- `error` (ErrorBody, required)

## Types

### PartnerMenuDetails

The whole menu in the same shape as `GET /api/v1/menu`, whether or not it is active. Inactive categories and products and unavailable addons are included. Subcategories (categories with `parentId`) are not included, as in `/api/v1/menu`.

- `menu` (PartnerMenuDetailsMenu, required)
- `categories` (list of PartnerMenuCategory, required)
- `addonGroups` (list of PartnerMenuAddonGroup, required) — The restaurant's global addon groups (like `restaurant.addonGroups` in `/api/v1/menu`).

### ErrorBody

- `code` (enum, required) — A machine-readable error code.
  - Allowed values: `MISSING_SLUG`, `MISSING_TOKEN`, `INVALID_JSON`, `INVALID_SUCCESS_URL`, `INVALID_CANCEL_URL`, `VALIDATION_FAILED`, `RESTAURANT_NOT_FOUND`, `ORDER_NOT_FOUND`, `RATE_LIMITED`, `BAD_REQUEST`, `UNAUTHORIZED`, `FORBIDDEN`, `INSUFFICIENT_SCOPE`, `KEY_EXPIRED`, `POPUP_NOT_AVAILABLE`, `PRICE_CHANGED`, `PAYMENT_INCOMPLETE`, `PAYMENT_PENDING`, `PAYMENT_PROVIDER_INVALID`, `FULFILLMENT_NOT_ALLOWED`, `IDEMPOTENCY_CONFLICT`, `DINE_IN_DISABLED`, `PARTY_TOO_LARGE`, `TOO_EARLY`, `NO_TABLE`, `INVALID_PARTY_SIZE`, `INTERNAL_ERROR`, `PARTNER_AGREEMENT_REQUIRED`, `IDEMPOTENCY_KEY_REQUIRED`, `SLUG_TAKEN`, `SANDBOX_LIMIT`, `RETENTION`, `RESTAURANT_ARCHIVED`, `KEY_NOT_FOUND`, `KEY_IN_USE`, `WEBHOOK_NOT_FOUND`, `WEBHOOK_LIMIT`, `CHANGED`, `PDF_TOO_LARGE`, `PDF_INVALID`, `PDF_PASSWORD`, `PDF_TOO_MANY_PAGES`, `PDF_NO_TEXT`, `PDF_PARSE_TIMEOUT`, `MENU_IMPORT_EMPTY`, `FILE_UNSUPPORTED`, `IMAGE_HEIC`, `IMAGE_INVALID`, `IMAGE_DIMENSIONS`, `MENU_IMPORT_UNAVAILABLE`, `MENU_IMPORT_AI_LIMIT`, `MENU_IMPORT_TOO_BIG`, `MENU_IMPORT_NOT_FOUND`, `MENU_IMPORT_CLOSED`, `PARTNER_NOT_APPROVED`, `PARTNER_DATA_LOCKED`, `DOMAIN_NOT_FOUND`, `DOMAIN_TAKEN`, `DOMAIN_LIMIT`, `DOMAIN_MANAGED`, `DOMAIN_NOT_VERIFIED`, `OWNER_EXISTS`, `OWNER_EMAIL_NOT_ALLOWED`, `OWNER_INVITE_NOT_FOUND`, `SANDBOX_NOT_SUPPORTED`, `INVITE_SEND_FAILED`, `GO_LIVE_NOT_REQUIRED`, `GO_LIVE_NOT_READY`, `GO_LIVE_CHECKS_FAILED`, `GO_LIVE_ALREADY_REQUESTED`, `GO_LIVE_ALREADY_APPROVED`, `GO_LIVE_NOTHING_TO_WITHDRAW`, `DEMO_RESTAURANT`, `LEGAL_LOCKED`, `HOURS_OVERRIDE_NOT_FOUND`, `HOURS_OVERRIDE_LIMIT`, `DELIVERY_ZONE_NOT_FOUND`, `DELIVERY_ZONE_LIMIT`, `MENU_NOT_FOUND`, `MENU_IS_DEFAULT`, `CATEGORY_NOT_FOUND`, `PRODUCT_NOT_FOUND`, `ADDON_GROUP_NOT_FOUND`, `CATEGORY_NOT_EMPTY`, `CATEGORY_LIMIT`, `PRODUCT_LIMIT`, `ADDON_GROUP_LIMIT`, `KEY_ROLE_FORBIDDEN`, `WHITE_LABEL_REQUIRED`, `LOGO_NOT_ALLOWED`, `FILE_TOO_LARGE`, `UPLOAD_FAILED`, `PARTNER_ARCHIVED`, `PARTNER_NEWS_FORBIDDEN`, `NEWS_NOT_FOUND`, `NOT_DRAFT`, `NOT_PUBLISHED`, `NOT_SCHEDULED`, `NOT_CLAIMABLE`, `NO_RECIPIENTS`, `IMAGE_NOT_ALLOWED`, `SENDER_DOMAIN_ALREADY_SET`, `SENDER_DOMAIN_NOT_SET`, `DOMAIN_EXISTS`, `SENDER_DOMAIN_REJECTED`, `EMAIL_SERVICE_UNAVAILABLE`, `HUMAN_REQUIRED`, `LENGTH_REQUIRED`, `PAYLOAD_TOO_LARGE`
- `message` (string, required) — A human-readable explanation, often in Norwegian. For business rules it is usually suitable to show the customer.
- `requestId` (string, required) — The same value as the `X-Request-Id` response header. Search for it in the API log in LettBestilt Partner, and include it when you contact LettBestilt.
- `details` (any, optional) — Extra data for some codes, for example `issues` for `VALIDATION_FAILED`, the totals for `PRICE_CHANGED` or `requiredScope` for `INSUFFICIENT_SCOPE`.

### PartnerMenuDetailsMenu

- `id` (string, required)
- `name` (string, required)
- `isActive` (boolean, required)
- `isDefault` (boolean, required)
- `isLiveNow` (boolean, required)
- `priority` (integer, required)
- `sortOrder` (integer, required)
- `startsOn` (date, required, nullable) — YYYY-MM-DD (Europe/Oslo), inclusive. null = no limit.
- `endsOn` (date, required, nullable) — YYYY-MM-DD (Europe/Oslo), inclusive. null = no limit.
- `schedules` (list of PartnerMenuSchedule, required)
- `nameEn` (string, optional, nullable)
- `description` (string, optional, nullable)

### PartnerMenuCategory

- `id` (string, required)
- `menuId` (string, required)
- `name` (string, required)
- `isActive` (boolean, required)
- `sortOrder` (integer, required)
- `addonGroups` (list of PartnerMenuAddonGroup, required)
- `products` (list of PartnerMenuProduct, required)
- `nameEn` (string, optional, nullable)
- `description` (string, optional, nullable)
- `imageUrl` (string, optional, nullable)

### PartnerMenuAddonGroup

Like the addon groups in `/api/v1/menu`, plus `scope` and `isAvailable` per addon.

- `id` (string, required)
- `version` (string, required) — Hash of the row (16 hex characters). Send it as `expectedVersion` in PATCH to get 409 `CHANGED` instead of overwriting a change made after this read.
- `name` (string, required)
- `nameEn` (string, required, nullable)
- `scope` (enum, required)
  - Allowed values: `GLOBAL`, `CATEGORY`, `PRODUCT`
- `minSelect` (integer, required)
- `maxSelect` (integer, required)
- `isRequired` (boolean, required)
- `sortOrder` (integer, required)
- `tiers` (list of PartnerMenuAddonGroupTiersItems, required)
- `addons` (list of PartnerMenuAddonGroupAddonsItems, required)

### PartnerMenuSchedule

- `id` (string, required)
- `dayOfWeek` (enum, required)
  - Allowed values: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`
- `startsAt` (string, required) — HH:MM (Europe/Oslo).
- `endsAt` (string, required) — HH:MM (Europe/Oslo).
- `priority` (integer, required) — Stored on the row, but not used. Which of two menus with overlapping schedule windows is shown is decided by the menu's `priority`.
- `isActive` (boolean, required)

### PartnerMenuProduct

The same fields as `categories[].products[]` in `/api/v1/menu`, plus `isActive` and `isAvailable`.

- `id` (string, required)
- `version` (string, required) — Hash of the row (16 hex characters). Send it as `expectedVersion` in PATCH to get 409 `CHANGED` instead of overwriting a change made after this read.
- `name` (string, required)
- `basePrice` (integer, required) — In øre. With variants it is the default variant's price.
- `isActive` (boolean, required)
- `isAvailable` (boolean, required) — false = sold out.
- `sortOrder` (integer, required)
- `variants` (list of PartnerMenuProductVariantsItems, required)
- `addonGroups` (list of PartnerMenuAddonGroup, required)
- `allergens` (list of enum, required)
  - Allowed values: `WHEAT`, `RYE`, `BARLEY`, `OATS`, `SPELT`, `KAMUT`, `CRUSTACEANS`, `EGGS`, `FISH`, `PEANUTS`, `SOYBEANS`, `MILK`, `NUTS`, `CELERY`, `MUSTARD`, `SESAME`, `SULPHITES`, `LUPIN`, `MOLLUSCS`
- `nameEn` (string, optional, nullable)
- `description` (string, optional, nullable)
- `descriptionEn` (string, optional, nullable)
- `imageUrl` (string, optional, nullable)
- `imageIsStock` (boolean, optional) — Illustration from the image library; the customer website must label it «Illustrasjonsfoto» (illustration photo).
- `isPopular` (boolean, optional)
- `isRecommended` (boolean, optional)
- `isVegan` (boolean, optional)
- `isVegetarian` (boolean, optional)
- `isCombo` (boolean, optional)
- `comboPredefined` (boolean, optional)
- `allowedFulfillment` (enum, optional)
  - Allowed values: `PICKUP`, `DELIVERY`
- `comboSlots` (list of PartnerMenuProductComboSlotsItems, optional)

### PartnerMenuAddonGroupTiersItems

- `key` (string, required)
- `label` (string, required)
- `sortOrder` (integer, required)

### PartnerMenuAddonGroupAddonsItems

- `id` (string, required)
- `name` (string, required)
- `nameEn` (string, required, nullable)
- `price` (integer, required) — In øre.
- `isAvailable` (boolean, required) — `/api/v1/menu` shows only available addons.
- `sortOrder` (integer, required)
- `tierPrices` (map from string to integer, required) — Price in øre per size key (`tiers[].key`).

### PartnerMenuProductVariantsItems

- `id` (string, required)
- `name` (string, required)
- `price` (integer, required) — In øre.
- `isDefault` (boolean, required)
- `sortOrder` (integer, required)
- `nameEn` (string, optional, nullable)
- `addonTierKey` (string, optional, nullable)

### PartnerMenuProductComboSlotsItems

## Examples

**Response**

```json
{
  "data": {
    "menu": {
      "id": "string",
      "name": "string",
      "isActive": true,
      "isDefault": true,
      "isLiveNow": true,
      "priority": 1,
      "sortOrder": 1,
      "startsOn": "2023-01-15",
      "endsOn": "2023-01-15",
      "schedules": [
        {
          "id": "string",
          "dayOfWeek": "MONDAY",
          "startsAt": "string",
          "endsAt": "string",
          "priority": 1,
          "isActive": true
        }
      ],
      "nameEn": "string",
      "description": "string"
    },
    "categories": [
      {
        "id": "string",
        "menuId": "string",
        "name": "string",
        "isActive": true,
        "sortOrder": 1,
        "addonGroups": [
          {
            "id": "string",
            "version": "string",
            "name": "string",
            "nameEn": "string",
            "scope": "GLOBAL",
            "minSelect": 1,
            "maxSelect": 1,
            "isRequired": true,
            "sortOrder": 1,
            "tiers": [
              {
                "key": "string",
                "label": "string",
                "sortOrder": 1
              }
            ],
            "addons": [
              {
                "id": "string",
                "name": "string",
                "nameEn": "string",
                "price": 1,
                "isAvailable": true,
                "sortOrder": 1,
                "tierPrices": {}
              }
            ]
          }
        ],
        "products": [
          {
            "id": "string",
            "version": "string",
            "name": "string",
            "basePrice": 1,
            "isActive": true,
            "isAvailable": true,
            "sortOrder": 1,
            "variants": [
              {
                "id": "string",
                "name": "string",
                "price": 1,
                "isDefault": true,
                "sortOrder": 1,
                "nameEn": "string",
                "addonTierKey": "string"
              }
            ],
            "addonGroups": [
              {
                "id": "string",
                "version": "string",
                "name": "string",
                "nameEn": "string",
                "scope": "GLOBAL",
                "minSelect": 1,
                "maxSelect": 1,
                "isRequired": true,
                "sortOrder": 1,
                "tiers": [
                  {
                    "key": "string",
                    "label": "string",
                    "sortOrder": 1
                  }
                ],
                "addons": [
                  {
                    "id": "string",
                    "name": "string",
                    "nameEn": "string",
                    "price": 1,
                    "isAvailable": true,
                    "sortOrder": 1,
                    "tierPrices": {}
                  }
                ]
              }
            ],
            "allergens": [
              "WHEAT"
            ],
            "nameEn": "string",
            "description": "string",
            "descriptionEn": "string",
            "imageUrl": "string",
            "imageIsStock": true,
            "isPopular": true,
            "isRecommended": true,
            "isVegan": true,
            "isVegetarian": true,
            "isCombo": true,
            "comboPredefined": true,
            "allowedFulfillment": "PICKUP",
            "comboSlots": [
              {}
            ]
          }
        ],
        "nameEn": "string",
        "description": "string",
        "imageUrl": "string"
      }
    ],
    "addonGroups": [
      {
        "id": "string",
        "version": "string",
        "name": "string",
        "nameEn": "string",
        "scope": "GLOBAL",
        "minSelect": 1,
        "maxSelect": 1,
        "isRequired": true,
        "sortOrder": 1,
        "tiers": [
          {
            "key": "string",
            "label": "string",
            "sortOrder": 1
          }
        ],
        "addons": [
          {
            "id": "string",
            "name": "string",
            "nameEn": "string",
            "price": 1,
            "isAvailable": true,
            "sortOrder": 1,
            "tierPrices": {}
          }
        ]
      }
    ]
  }
}
```

**SDK Code**

```python
import requests

url = "https://www.lettbestilt.no/api/v1/partner/restaurants/slug/menus/menuId"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://www.lettbestilt.no/api/v1/partner/restaurants/slug/menus/menuId';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://www.lettbestilt.no/api/v1/partner/restaurants/slug/menus/menuId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://www.lettbestilt.no/api/v1/partner/restaurants/slug/menus/menuId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://www.lettbestilt.no/api/v1/partner/restaurants/slug/menus/menuId")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://www.lettbestilt.no/api/v1/partner/restaurants/slug/menus/menuId', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://www.lettbestilt.no/api/v1/partner/restaurants/slug/menus/menuId");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://www.lettbestilt.no/api/v1/partner/restaurants/slug/menus/menuId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```