About Item Variants

The Item Variants API allows you to manage the pricing options applied to menu items. Item variants are determined by specific parameters like size, base ingredient, quantity and other customizable attributes. For example, you can have a raspberry lemonade with sizes "small", "medium", and "large", where pricing for each size is different.

The same item variant can be used across various menu items for better flexibility and consistency.

With the Item Variants API, you can:

  • Create, delete, and update item variants.
  • Retrieve the information about item variants.

Before you begin

It's important to note the following point before starting to code:

  • You must install the Wix Restaurants Menus (New) app.

To use the Item Variants API, import { itemVariants } from wix-restaurants.v2:

Copy
1

Terminology

Menu: A list of food and beverage items available for purchase at a restaurant.

Was this helpful?
Yes
No