Menu

Update option group

Updates an existing option group. Partial update — only provided fields are changed. Can add new items via the items array.

put/menu/{locale}/options/{id}

Request

  • Base URL
    https://api.myrest.io/api/v1
  • Auth
    API key in header X-API-Key

Path parameters

localeinteger required

Locale (restaurant) ID. Must match the locale bound to your API key.

idinteger required

Resource ID

Request body

namestring
descriptionstring
is_required0 | 1
is_multiple0 | 1
is_multiselect0 | 1
is_active0 | 1
order_positioninteger

Response

Option group updated

successboolean

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.