---
title: "Assign a menu to a location"
method: POST
path: "/menus/{menuId}/assign-location"
tags: ["Menus"]
---

# Assign a menu to a location

`POST /menus/{menuId}/assign-location`

## Request

- Base URL: `https://api.synup.com/api/v4`
- URL: `https://api.synup.com/api/v4/menus/{menuId}/assign-location`
- Auth: none required
- TypeScript: <https://skmtc.dev/synup/apis/synup-api/docs/menus/:menuId/assign-location/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `menuId` string, required

## Headers

- `Content-Type` string, required
- `Authorization` string, required

## Request body

- object
  - `input` object, required
    - `locationIds` string[], required

## Response `200`

- object

---

[API](https://skmtc.dev/synup/apis/synup-api.md) - [All operations](https://skmtc.dev/synup/apis/synup-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synup/apis/synup-api/revisions/67de2d51c22e?raw)
