Skip to main content

Update multiple menus

PUT 

/api/v2/catalog/menus

Bulk update multiple menus, this is particularly useful for updating the order of the menus.

Request

Body

array

required

  • Array [

  • id stringrequired

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

    Unique ID of the menu

    name string

    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.

  • ]

Responses

Schema

  • Array [

  • 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...