Menus

Create Menu Item

Changed on
post/api/v1/menus/properties/{property_id}/menu-items

Request

  • Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.getanana.com/api/v1/menus/properties/{property_id}/menu-items
  • Auth: none declared

Path parameters

property_idstring uuid required

Request body

namestring required
category'FOOD' | 'COCKTAIL' | 'NON_ALCOHOLIC_COCKTAIL' | 'SIGNATURE' | 'LONG_DRINK' | 'WINE' | 'BEER' | 'SPIRIT' | 'COFFEE_TEA' | 'SMOOTHIE_SHAKE' | 'REFRESHMENT'
subcategorystring nullable
ingredients_textstring nullable
allergen_codesstring[]
tagsstring[]
descriptionstring nullable
image_urlstring nullable
currencystring nullable

Response

Successful Response

idstring uuid required
property_idstring uuid required
namestring required
category'FOOD' | 'COCKTAIL' | 'NON_ALCOHOLIC_COCKTAIL' | 'SIGNATURE' | 'LONG_DRINK' | 'WINE' | 'BEER' | 'SPIRIT' | 'COFFEE_TEA' | 'SMOOTHIE_SHAKE' | 'REFRESHMENT' required
subcategorystring nullable required
ingredients_textstring nullable required
allergen_codesstring[] required
tagsstring[] required
descriptionstring nullable required
image_urlstring nullable required
pricestring nullable required
currencystring nullable required

Changes

    • breaking

      added the pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ to the request property /

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      the / response's property pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ was added for the status