---
title: "Clone a menu, (without attaching stores)"
method: POST
path: "/api/v1.0/menus/{menuId}/clone/{newName}"
tags: ["Menus"]
---

# Clone a menu, (without attaching stores)

`POST /api/v1.0/menus/{menuId}/clone/{newName}`

## Request

- Base URL: `https://api.flipdish.co`
- URL: `https://api.flipdish.co/api/v1.0/menus/{menuId}/clone/{newName}`
- Auth: OAuth 2 (implicit, authorization URL `https://api.flipdish.co/identity/connect/authorize`, scopes: `api`)

## Path parameters

- `menuId` integer, required
- `newName` string, required

## Response `200`

OK

- RestApiResultMenu: Rest api result
  - `Data` Menu, required: Menu
    - `MenuId` integer: Menu identifier
    - `ModifiedTime` string, date-time: Last modified time
    - `VersionNumber` integer: Menu version
    - `ImageName` string: Image Name
    - `ImageUrl` string: Image url
    - `Name` string: Name of Menu, only shown in portal
    - `Locked` boolean: Locked: is menu locked against modifcation
    - `MenuSections` MenuSection[]: Menu sections (startes, main etc)
      - `MenuSectionId` integer: Menu section identifier
      - `MenuItems` MenuSectionItem[]: Menu items
        - `ActualPrice` number, double: Actual price - the minimum price possible when all required option set items prices are included.
        - `MenuItemOptionSets` MenuItemOptionSet[]: Menu item option sets
          - `MenuItemOptionSetId` integer: Menu item option set identifier
          - `ImageName` string: Image Name
          - `ImageUrl` string: Image url
          - `MenuItemOptionSetItems` MenuItemOptionSetItem[]: Option set items
            - `MenuItemOptionSetItemId` integer: Menu item option set item identifier
            - `PublicId` string, uuid: Permanent reference to the item.
            - `Metadata` CreateMetadata[]: List of metadata
              - …
            - `NextMenuItemOptionSetId` integer, nullable: if null, next option set is next. if -1, this is the final option set
            - `CatalogItemId` string: Catalog item Id when the OptionSet is associated to a Product
            - `TaxRateName` string: Tax rate name
            - `TaxRateId` integer, nullable: TaxRateId.
            - `TaxValue` number, double: TaxValue.
            - `Name` string: Name
            - `Price` number, double: Price
            - `DepositReturnFee` number, double, nullable: An optional fee that can be added to the price of the item.
            - `IsAvailable` boolean: Is available
            - `DisplayOrder` integer: Display order. Displayed in ascending order.
            - `CellLayoutType` 'Small' | 'Medium' | 'Large' | 'HiddenImage': Small | Medium | Large Affects the layout of the menu.
            - `ImageUrl` string: Image url
          - `PublicId` string, uuid: Permanent reference to the item.
          - `CatalogItemId` string: Catalog item Id when the OptionSet is associated to a Product
          - `Name` string: Menu item option set name
          - `IsMasterOptionSet` boolean: Is master option set. This can affect the layout of the options in the menu displayed to the customer. Usually it is true if the option could be considerd a standalone item as opposed to an addition ("with ketchup") or modifier ("large").
          - `DisplayOrder` integer: Display order. Displayed in ascending order.
          - `MinSelectCount` integer: Minimum items must be selected
          - `MaxSelectCount` integer: Maximum number of items can be selected
          - `CellLayoutType` 'Small' | 'Medium' | 'Large' | 'HiddenImage': Small | Medium | Large Affects the layout of the menu.
        - `DailySpecialHours` BusinessHoursPeriod[]: Daily special hours
          - `Early` Range: A class that represents a single opening period in a day. This starts 'StartTime' after midnight and runs for a 'Period' after that, on the given DayOfWeek.
            - `StartTime` string: Start time
            - `Period` string: Period
            - `DayOfWeek` 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday': Day of week
          - `Late` Range: A class that represents a single opening period in a day. This starts 'StartTime' after midnight and runs for a 'Period' after that, on the given DayOfWeek.
            - `StartTime` string: Start time
            - `Period` string: Period
            - `DayOfWeek` 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday': Day of week
          - `Ranges` Range[]: Ranges
            - `StartTime` string: Start time
            - `Period` string: Period
            - `DayOfWeek` 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday': Day of week
          - `DayOfWeek` 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday': Day of week
          - `StartTime` string: Start time
          - `Period` string: Period
          - `StartTimeEarly` string: Start time early
          - `PeriodEarly` string: Period early
        - `PublicId` string, uuid: Permanent reference to the item.
        - `TaxRateName` string: Tax rate name
        - `TaxRateId` integer, nullable: TaxRate
        - `TaxValue` number, double: TaxValue - the tax associated with this item, based on TaxRate / TaxType and Currency (currency determines decimal point precision)
        - `ExcludeFromVoucherDiscounting` boolean: If true, the item is excluded from voucher discount calculations
        - `Metadata` CreateMetadata[]: List of metadata
          - `StoreId` integer: Store identifier
          - `Key` string: Metadata key (Unique identifier)
          - `Value` string: Metadata value
        - `CatalogItemId` string: Catalog item Id when the Item is associated to a Product
        - `Name` string: Menu item name (like "Korma")
        - `Description` string: Description (like "A lovely dish from the east")
        - `SpicinessRating` 'NotRated' | 'Mild' | 'Medium' | 'Hot': Spiciness rating
        - `Price` number, double: Price - this is only used when there is no master option set and should be set to 0 if a master option set exists.
        - `DepositReturnFee` number, double, nullable: An optional fee that can be added to the price of the item.
        - `DisplayOrder` integer: Display order
        - `Alcohol` boolean: To be set true if the item or an option of the item contains an alcoholic drink.
        - `IsAvailable` boolean: True if we accept orders for this item still
        - `CellLayoutType` 'Small' | 'Medium' | 'Large' | 'HiddenImage': Small | Medium | Large Affects the layout of the menu.
        - `DisableVouchers` boolean: If true, then vouchers won't be applied for this item
        - `ImageName` string: Image url
        - `ImageUrl` string: Image url
        - `MenuItemId` integer: Menu Item Id
      - `MenuSectionAvailability` MenuSectionAvailability: Menu section availability
        - `AvailableTimes` BusinessHoursPeriod[]: Available times
          - `Early` Range: A class that represents a single opening period in a day. This starts 'StartTime' after midnight and runs for a 'Period' after that, on the given DayOfWeek.
            - `StartTime` string: Start time
            - `Period` string: Period
            - `DayOfWeek` 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday': Day of week
          - `Late` Range: A class that represents a single opening period in a day. This starts 'StartTime' after midnight and runs for a 'Period' after that, on the given DayOfWeek.
            - `StartTime` string: Start time
            - `Period` string: Period
            - `DayOfWeek` 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday': Day of week
          - `Ranges` Range[]: Ranges
            - `StartTime` string: Start time
            - `Period` string: Period
            - `DayOfWeek` 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday': Day of week
          - `DayOfWeek` 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday': Day of week
          - `StartTime` string: Start time
          - `Period` string: Period
          - `StartTimeEarly` string: Start time early
          - `PeriodEarly` string: Period early
        - `AvailabilityMode` 'DisplayAlways' | 'DisplayBasedOnTimes' | 'DisplayAlwaysStartCollapsed' | 'DisplayAlwaysStartCollapsedBasedOnTimes', nullable: Availability mode
      - `PublicId` string, uuid: Permanent reference to the item.
      - `ImageName` string: Image Name
      - `Name` string: Name
      - `Description` string: Description
      - `DisplayOrder` integer: Display order
      - `IsAvailable` boolean: Is available
      - `IsHiddenFromCustomers` boolean: Is hidden from customer. Perhaps when the item is out of stock.
      - `ImageUrl` string: Image url
    - `TaxRates` MenuTaxRate[]: Menu tax rates
      - `TaxRateId` integer: Id of Tax Rate
      - `Name` string: Name of Tax Rate
      - `Rate` number, double: In Percentage
    - `AppId` string: Identifier of App the menu is attached to
    - `DisplaySectionLinks` boolean: Display menu section link on UI
    - `MenuSectionBehaviour` 'ExpandSingle' | 'ExpandMultiple': Menu section behaviour
    - `TaxType` 'IncludedInBasePrice' | 'ExcludedFromBasePrice': Tax type
    - `IsIntegrated` boolean: Flag to indicate if the menu is integrated (contains metadata)

## Other responses

- `400`: BadRequest
- `401`: Authentication has been denied for this request.
- `403`: Successful authentication, but authorization has been denied for this request.
- `404`: NotFound
- `409`: Conflict

---

[API](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0.md) · [All operations](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0/llms.txt) · [OpenAPI document](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0/revisions/ec0c138b13ca?raw)
