---
title: "Set item options"
method: PUT
path: "/menu/{locale}/{id}/options"
tags: ["Menu"]
---

# Set item options

`PUT /menu/{locale}/{id}/options`

Replaces all option group links for a menu item. Pass an empty array to unlink all options.

## Path parameters

- `locale` integer, required
- `id` integer, required

## Request body

- object
  - `option_group_ids` integer[], required — Array of option group IDs to link. Empty array unlinks all.

## Response `200`

Options updated

- object
  - `success` boolean
  - `data` LinkedOptionGroup[]
    - `id` integer
    - `menu_item_id` integer
    - `name` string — Translated name based on ?lang= parameter
    - `is_required` 0 | 1
    - `is_multiple` 0 | 1
    - `is_multiselect` 0 | 1
    - `pos_id` string, nullable
    - `options` object[]
      - `id` integer
      - `name` string
      - `price` number, float
      - `is_active` 0 | 1
      - `image` string, nullable

## Other responses

- `403` — API key not authorized for this locale or missing required scope
- `404` — Menu item or option group not found

---

[API](https://skmtc.dev/myrest/apis/myrest-public-api.md) · [All operations](https://skmtc.dev/myrest/apis/myrest-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/myrest/myrest-public-api/revisions/70905e6e4284/schema)
