Get Secret Identifier Tags

​

Returns the secret-menu tags that apply to this customer, per product, so you can label an item as unlocked rather than silently showing it like any other.

Secret products are gated by loyalty segments. The category list already hides what the customer cannot see; this endpoint tells you why the rest is visible, which is what you need for a "VIP" or "members only" badge.

Read the category list first. The segments the customer matched are worked out while the menu tree is built and cached from there, so calling this endpoint on its own usually returns an empty array.

Note the response is an array directly under data, not an object.

Path Parameters

  • UUID of venue

  • UUID of a menu

Headers

  • White Label Application Key

  • Bearer token of the signed-in customer. Required — the tags are specific to the segments that customer belongs to

Responses

  • application/json
  • Missing or invalid customer token.

  • The brand is not on the NMG product structure.

  • Unknown venue or menu UUID.

Request Example for get/venues/{venue_uuid}/menus/{menu_uuid}/categories/secret-identifiers-tags
curl 'https://api-public-demo.menu.app/api/v2/venues/{venue_uuid}/menus/{menu_uuid}/categories/secret-identifiers-tags' \
  --header 'Application: ' \
  --header 'Authorization: '
{
  "status": "OK",
  "code": 200,
  "data": [
    {
      "product_id": "5e4072f5-976a-4f21-b77e-41a3ef3ff38e",
      "tags": [
        "VIP"
      ]
    },
    {
      "product_id": "9a1c7d34-6b21-4f0e-9b77-2d5e8f1a3c44",
      "tags": [
        "Members only"
      ]
    }
  ]
}