Core APIMenuTrees

Get menu tree item hierarchy

gethttps://core-api.ancon.io/api/v1/Tenants/{tenantId}/Outlets/{outletId}/MenuTrees/{menuTreeId}/Hierarchy
View .mdOpenAPI

Authorization

  • Access-Tokenheaderrequired

    Tenant- or outlet-level token from the backoffice. See Get started.

Path parameters

  • tenantIdstring (uuid)required
  • outletIdstring (uuid)required
  • menuTreeIdstring (uuid)required

Query parameters

  • SystemVisibilityinteger (int32)

    Allowed values: 0, 1, 2, 3, 4, 5, 6, 7.

  • OrderFormatsinteger (int32)

    Used to filter the menu on what order format the customer chooses. If no filter is wanted use None, can be useful if all products should be visible but disabled if they are not the correct order format. Allowed values: 0, 1, 2, 4, 8, 16, 32, 64, 128, 159, 191.

  • PurchaseOrderFormatinteger (int32)

    Used to give back correct prices in the response, some products have advanced pricing that can be different per order format. Allowed values: 0, 1, 2, 4, 8, 16, 32, 64, 128, 159, 191.

  • OrderTimestring (date-time)
  • DayOfWeekinteger (int32)

    Allowed values: 0, 1, 2, 4, 8, 16, 31, 32, 64, 96, 127.

  • GuestGroupIdstring (uuid)

Header parameters

  • correlationIdstring

    Correlation Id for the request

Responses

200OKapplication/json
  • idstring (uuid)
  • namestring | null
  • isMandatoryboolean
  • menuTreeItemsarray<object | object> | null
400Bad Requestapplication/json
  • messagestring | null
  • errorCodestring (uuid)
  • additionalDataany | null
401Unauthorizedapplication/json
  • messagestring | null
404Not Foundapplication/json
  • messagestring | null
  • errorCodestring (uuid)