Skip to main content

Create a new menu

POST 

/api/v2/catalog/menus

Create a new menu and link it to a business

Request

Body

required

    name stringrequired

    Possible values: non-empty

    Name of the menu

    photo_url urinullable

    The photo URL of the menu

    announcement stringnullable

    Text to display in the announcement bar, implicitly enables the announcement bar.

    heading stringnullable

    Heading of the menu

    available boolean

    Default value: true

    Mark the product as not available

    description string

    Description of the menu

    colors

    object

    primary color-hex

    Primary color of the menu

    layout integer

    Possible values: <= 2

    Default value: 0

    Layout of the menu

    order integer

    Default value: 0

    Used to order the item, order defaults to ascending.

    business_id uuidrequired

    Create product for given business

Responses

Schema

    id stringrequired

    Possible values: >= 12 characters and <= 12 characters, Value must match regular expression ^[0-9a-z]+$

    Unique ID of the menu

    name stringrequired

    Possible values: non-empty

    Name of the menu

    slug stringrequired

    Possible values: non-empty

    Slug of the menu

    description stringrequired

    Description of the menu

    photo_url urinullable

    The photo URL of the menu

    announcement stringnullable

    Text to display in the announcement bar, implicitly enables the announcement bar.

    heading stringnullable

    Heading of the menu

    colors

    object

    required

    primary color-hex

    Primary color of the menu

    layout integerrequired

    Possible values: <= 2

    Default value: 0

    Layout of the menu

    available boolean

    Default value: true

    Mark the product as not available

    order integerrequired

    Default value: 0

    Used to order the item, order defaults to ascending.

    created_at date-timerequired
    updated_at date-timerequired
Loading...