---
title: "Create option group"
method: POST
path: "/menu/{locale}/options"
tags: ["Menu"]
---

# Create option group

`POST /menu/{locale}/options`

Creates a new option/addon group with optional inline items and translations.

## Path parameters

- `locale` integer, required

## Request body

- CreateOptionGroupRequest
  - `name` string, required
  - `description` string
  - `is_required` 0 | 1
  - `is_multiple` 0 | 1
  - `is_multiselect` 0 | 1
  - `is_active` 0 | 1
  - `order_position` integer
  - `items` OptionGroupItemInput[] — Option values to create inside this group
    - `id` integer — Existing item ID to update. Omit to create new.
    - `name` string, required
    - `price` number, float
    - `is_active` 0 | 1
    - `order_position` integer
    - `translations` Translation[]
      - `lang` string — Language code (e.g. en, pl, de)
      - `name` string
      - `description` string
  - `translations` Translation[]
    - `lang` string — Language code (e.g. en, pl, de)
    - `name` string
    - `description` string

## Response `200`

Option group created

- object
  - `success` boolean
  - `data` OptionGroup
    - `id` integer
    - `name` string
    - `description` string, nullable
    - `is_required` 0 | 1 — Whether selecting an option is required
    - `is_multiple` 0 | 1 — Whether multiple options can be selected
    - `is_multiselect` 0 | 1
    - `is_active` 0 | 1
    - `order_position` integer
    - `items` OptionGroupItem[]
      - `id` integer
      - `name` string
      - `price` number, float
      - `is_active` 0 | 1
      - `order_position` integer
      - `image` string, nullable
      - `translations` Translation[]
        - `lang` string — Language code (e.g. en, pl, de)
        - `name` string
        - `description` string
    - `translations` Translation[]
      - `lang` string — Language code (e.g. en, pl, de)
      - `name` string
      - `description` string

## Other responses

- `403` — API key not authorized for this locale or missing required scope
- `422` — Validation error

---

[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)
