Lotus
Type to search documentation.
Products

Create menu item

Create a new menu item.

post/menu

Security

This operation accepts the following authorization requirements.

Required credentials

One credential is required.
OAuth2oauth2

OAuth2 authorization for API access.

menu:write

Request

Body
bodyone ofrequired
Options (2)
Beverageobject
Properties (12)
categorystringrequired

Allowed values:"beverage"

Menu item category.

volumenumberrequired

Size of the beverage in milliliters.

containsCaffeinebooleanrequired

Indicates if the beverage contains caffeine.

createdAtstring:date-timerequired

Created date.

updatedAtstring:date-timerequired

Updated date.

idstringrequired

Menu item ID. Unique identifier prefixed with prd_.

objectstringrequired

Allowed values:"menuItem"

Entity name.

namestringrequired

Menu item name.

priceintegerrequired

Price in cents.

photostring:binary

Photo of the menu item. Must be a PNG image and less than 1MB.

photoUrlstring:uri

Photo URL of the menu item.

photoTextDescriptionstring
Dessertobject
Properties (11)
categorystringrequired

Allowed values:"dessert"

Menu item category.

caloriesnumberrequired

Amount of calories.

createdAtstring:date-timerequired

Created date.

updatedAtstring:date-timerequired

Updated date.

idstringrequired

Menu item ID. Unique identifier prefixed with prd_.

objectstringrequired

Allowed values:"menuItem"

Entity name.

namestringrequired

Menu item name.

priceintegerrequired

Price in cents.

photostring:binary

Photo of the menu item. Must be a PNG image and less than 1MB.

photoUrlstring:uri

Photo URL of the menu item.

photoTextDescriptionstring

Response

Menu item created successfully.

bodyone of
Options (2)
Beverageobject
Properties (12)
categorystringrequired

Allowed values:"beverage"

Menu item category.

volumenumberrequired

Size of the beverage in milliliters.

containsCaffeinebooleanrequired

Indicates if the beverage contains caffeine.

createdAtstring:date-timerequired

Created date.

updatedAtstring:date-timerequired

Updated date.

idstringrequired

Menu item ID. Unique identifier prefixed with prd_.

objectstringrequired

Allowed values:"menuItem"

Entity name.

namestringrequired

Menu item name.

priceintegerrequired

Price in cents.

photostring:binary

Photo of the menu item. Must be a PNG image and less than 1MB.

photoUrlstring:uri

Photo URL of the menu item.

photoTextDescriptionstring
Dessertobject
Properties (11)
categorystringrequired

Allowed values:"dessert"

Menu item category.

caloriesnumberrequired

Amount of calories.

createdAtstring:date-timerequired

Created date.

updatedAtstring:date-timerequired

Updated date.

idstringrequired

Menu item ID. Unique identifier prefixed with prd_.

objectstringrequired

Allowed values:"menuItem"

Entity name.

namestringrequired

Menu item name.

priceintegerrequired

Price in cents.

photostring:binary

Photo of the menu item. Must be a PNG image and less than 1MB.

photoUrlstring:uri

Photo URL of the menu item.

photoTextDescriptionstring