Menu

Create category

Creates a new menu category. Supports subcategories via parent_category and multi-language translations.

post/menu/{locale}/categories

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.

Request body

namestring required
descriptionstring
parent_categoryinteger nullable

Parent category ID for subcategories

order_positioninteger
is_active0 | 1

Response

Category created

successboolean

Example response

{
  "success": true
}

Changes

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