Ir al contenido principal

Restaurantes

Los restaurantes de la cuenta de la clave: listarlos, leer su menú completo y editar sus datos.

The restaurants of the account the key belongs to.

Cada operación trae su curl y su respuesta de ejemplo; las claves y los ids de los ejemplos son ficticios. Los campos marcados con * son obligatorios.

List the restaurants of the account

get/restaurantsrequiere menu:readlistRestaurants

Call this first; every other endpoint takes one of these by identifier or id. Lists the restaurants the account owns and the ones it was invited to, with its role in each.

Ejemplo

curl -X GET "https://delimenu.co/api/v1/restaurants" \
  -H "Authorization: Bearer dmk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Respuesta 200

{
  "restaurants": [
    {
      "id": "aR3kX9pLm2QzT7vN4bYc",
      "identifier": "pizzeria-roma",
      "name": "Pizzería Roma",
      "currency": "COP",
      "type": "whatsapp",
      "phone": "+573001234567",
      "address": "Calle 10 # 5-20, Bogotá",
      "menu_url": "https://delimenu.co/pizzeria-roma",
      "logo_url": "https://firebasestorage.googleapis.com/v0/b/example/o/logo_512x512.png?alt=media",
      "banner_url": null,
      "language": "es",
      "languages": [
        "en"
      ],
      "opening_hours": {
        "enabled": true,
        "time_zone": "America/Bogota",
        "days": {
          "monday": [
            {
              "opens": "12:00",
              "closes": "15:00"
            },
            {
              "opens": "18:00",
              "closes": "22:00"
            }
          ],
          "tuesday": [
            {
              "opens": "12:00",
              "closes": "15:00"
            },
            {
              "opens": "18:00",
              "closes": "22:00"
            }
          ],
          "wednesday": [
            {
              "opens": "12:00",
              "closes": "15:00"
            },
            {
              "opens": "18:00",
              "closes": "22:00"
            }
          ],
          "thursday": [
            {
              "opens": "12:00",
              "closes": "15:00"
            },
            {
              "opens": "18:00",
              "closes": "22:00"
            }
          ],
          "friday": [
            {
              "opens": "12:00",
              "closes": "02:00"
            }
          ],
          "saturday": [
            {
              "opens": "00:00",
              "closes": "00:00"
            }
          ],
          "sunday": []
        },
        "special_dates": [
          {
            "date": "2030-11-11",
            "name": "Festivo",
            "hours": [
              {
                "opens": "12:00",
                "closes": "17:00"
              }
            ]
          },
          {
            "date": "2030-12-25",
            "name": "Navidad",
            "hours": []
          }
        ]
      },
      "order_settings": {
        "fulfillment": [
          "delivery",
          "pickup"
        ],
        "payment_methods": [
          "cash",
          "transfer"
        ],
        "custom_payment_methods": [
          "Nequi"
        ]
      },
      "promos": [
        {
          "id": "8c1f2e4a-5b6d-4e7f-9a0b-1c2d3e4f5a6b",
          "image_url": "https://firebasestorage.googleapis.com/v0/b/example/o/promo-halloween_1080x1080.webp?alt=media",
          "image_width": 864,
          "image_height": 1080,
          "active": true,
          "starts_at": "2026-10-25T05:00:00.000Z",
          "ends_at": "2026-11-01T04:59:59.000Z",
          "link": {
            "type": "url",
            "url": "https://www.instagram.com/pizzeriaroma"
          }
        }
      ],
      "trial_active": false,
      "role": "owner"
    }
  ]
}

Campos de la respuesta

CampoTipoDescripción
restaurants*object[]
id*string
identifier*string
name*string
currency*stringISO 4217 code every price is in
type*"whatsapp" | "read_only""whatsapp" takes orders by WhatsApp; "read_only" only shows the menu
phone*string | nullWhatsApp number in E.164, when ordering is enabled
address*string | null
menu_url*string
logo_url*string | null
banner_url*string | null
language*"es" | "en" | "pt" | "fr" | "de" | "it"The primary language: the one name, description and every untranslated field are written in
languages*"es" | "en" | "pt" | "fr" | "de" | "it"[]The additional languages diners can read the menu in, translated through `translations`. Empty for a menu in one language.
opening_hours*object | nullWeekly opening hours with their special dates, or null when the restaurant has none
enabled*booleanfalse: the hours are saved but the menu ignores them and takes orders at any time
time_zone*stringIANA time zone the hours are in
days*object
monday*object[]Empty when closed that day
tuesday*object[]Empty when closed that day
wednesday*object[]Empty when closed that day
thursday*object[]Empty when closed that day
friday*object[]Empty when closed that day
saturday*object[]Empty when closed that day
sunday*object[]Empty when closed that day
special_dates*object[]Holidays and other one-off dates, in date order. On each, these hours replace the weekday's.
date*stringYYYY-MM-DD on the restaurant calendar
name*string | nullThe owner's note for the date, or null. The menu does not show it.
hours*object[]Empty when closed that date
order_settings*objectWhat the WhatsApp checkout asks besides name and phone. All three empty: it asks nothing more.
fulfillment*"delivery" | "pickup" | "table"[]How the diner may receive the order; they pick one at checkout. Empty: not asked.
payment_methods*"cash" | "transfer" | "card"[]Built-in payment methods offered at checkout. "card" is paid on delivery or at the place.
custom_payment_methods*string[]Payment methods the owner named, shown as written (e.g. "Nequi").
promos*object[]Every promo in display order, paused ones included
id*string
image_url*stringThe resized poster (fits 1080×1080, aspect ratio kept)
image_width*number | null
image_height*number | null
active*booleanfalse: paused by the owner
starts_at*string | nullISO 8601. null: no start
ends_at*string | nullISO 8601. null: no end
link*any | nullWhat tapping it does: a "View product" or a "More info" button; null: nothing
trial_active*boolean
role*"owner" | "admin" | "editor" | "viewer"The account's role in this restaurant's team. owner and admin can do everything this API offers; editor only the menu (products, categories, their order, featured products, promos); viewer only reads. A call the role does not allow answers 403 FORBIDDEN.

Errores

  • 401 UNAUTHORIZED — the key is missing, unknown or revoked
  • 402 NOT_PREMIUM — the restaurant has no active subscription or trial
  • 403 FORBIDDEN — the key lacks the scope this endpoint needs, or the account's role in the restaurant's team does not allow it
  • 404 NOT_FOUND — no such restaurant in this account, or no such item in it
  • 500 INTERNAL — something failed on our side; retry in a moment

Get a restaurant

get/restaurants/{ref}requiere menu:readgetRestaurant

Parámetros

NombreDóndeDescripción
ref*rutaThe restaurant identifier (the slug in its public URL, e.g. "pizzeria-roma") or its id, as returned by GET /restaurants

Ejemplo

curl -X GET "https://delimenu.co/api/v1/restaurants/pizzeria-roma" \
  -H "Authorization: Bearer dmk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Respuesta 200

{
  "restaurant": {
    "id": "aR3kX9pLm2QzT7vN4bYc",
    "identifier": "pizzeria-roma",
    "name": "Pizzería Roma",
    "currency": "COP",
    "type": "whatsapp",
    "phone": "+573001234567",
    "address": "Calle 10 # 5-20, Bogotá",
    "menu_url": "https://delimenu.co/pizzeria-roma",
    "logo_url": "https://firebasestorage.googleapis.com/v0/b/example/o/logo_512x512.png?alt=media",
    "banner_url": null,
    "language": "es",
    "languages": [
      "en"
    ],
    "opening_hours": {
      "enabled": true,
      "time_zone": "America/Bogota",
      "days": {
        "monday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "tuesday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "wednesday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "thursday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "friday": [
          {
            "opens": "12:00",
            "closes": "02:00"
          }
        ],
        "saturday": [
          {
            "opens": "00:00",
            "closes": "00:00"
          }
        ],
        "sunday": []
      },
      "special_dates": [
        {
          "date": "2030-11-11",
          "name": "Festivo",
          "hours": [
            {
              "opens": "12:00",
              "closes": "17:00"
            }
          ]
        },
        {
          "date": "2030-12-25",
          "name": "Navidad",
          "hours": []
        }
      ]
    },
    "order_settings": {
      "fulfillment": [
        "delivery",
        "pickup"
      ],
      "payment_methods": [
        "cash",
        "transfer"
      ],
      "custom_payment_methods": [
        "Nequi"
      ]
    },
    "promos": [
      {
        "id": "8c1f2e4a-5b6d-4e7f-9a0b-1c2d3e4f5a6b",
        "image_url": "https://firebasestorage.googleapis.com/v0/b/example/o/promo-halloween_1080x1080.webp?alt=media",
        "image_width": 864,
        "image_height": 1080,
        "active": true,
        "starts_at": "2026-10-25T05:00:00.000Z",
        "ends_at": "2026-11-01T04:59:59.000Z",
        "link": {
          "type": "url",
          "url": "https://www.instagram.com/pizzeriaroma"
        }
      }
    ],
    "trial_active": false
  }
}

Campos de la respuesta

CampoTipoDescripción
restaurant*object
id*string
identifier*string
name*string
currency*stringISO 4217 code every price is in
type*"whatsapp" | "read_only""whatsapp" takes orders by WhatsApp; "read_only" only shows the menu
phone*string | nullWhatsApp number in E.164, when ordering is enabled
address*string | null
menu_url*string
logo_url*string | null
banner_url*string | null
language*"es" | "en" | "pt" | "fr" | "de" | "it"The primary language: the one name, description and every untranslated field are written in
languages*"es" | "en" | "pt" | "fr" | "de" | "it"[]The additional languages diners can read the menu in, translated through `translations`. Empty for a menu in one language.
opening_hours*object | nullWeekly opening hours with their special dates, or null when the restaurant has none
enabled*booleanfalse: the hours are saved but the menu ignores them and takes orders at any time
time_zone*stringIANA time zone the hours are in
days*object
monday*object[]Empty when closed that day
tuesday*object[]Empty when closed that day
wednesday*object[]Empty when closed that day
thursday*object[]Empty when closed that day
friday*object[]Empty when closed that day
saturday*object[]Empty when closed that day
sunday*object[]Empty when closed that day
special_dates*object[]Holidays and other one-off dates, in date order. On each, these hours replace the weekday's.
date*stringYYYY-MM-DD on the restaurant calendar
name*string | nullThe owner's note for the date, or null. The menu does not show it.
hours*object[]Empty when closed that date
order_settings*objectWhat the WhatsApp checkout asks besides name and phone. All three empty: it asks nothing more.
fulfillment*"delivery" | "pickup" | "table"[]How the diner may receive the order; they pick one at checkout. Empty: not asked.
payment_methods*"cash" | "transfer" | "card"[]Built-in payment methods offered at checkout. "card" is paid on delivery or at the place.
custom_payment_methods*string[]Payment methods the owner named, shown as written (e.g. "Nequi").
promos*object[]Every promo in display order, paused ones included
id*string
image_url*stringThe resized poster (fits 1080×1080, aspect ratio kept)
image_width*number | null
image_height*number | null
active*booleanfalse: paused by the owner
starts_at*string | nullISO 8601. null: no start
ends_at*string | nullISO 8601. null: no end
link*any | nullWhat tapping it does: a "View product" or a "More info" button; null: nothing
trial_active*boolean

Errores

  • 401 UNAUTHORIZED — the key is missing, unknown or revoked
  • 402 NOT_PREMIUM — the restaurant has no active subscription or trial
  • 403 FORBIDDEN — the key lacks the scope this endpoint needs, or the account's role in the restaurant's team does not allow it
  • 404 NOT_FOUND — no such restaurant in this account, or no such item in it
  • 500 INTERNAL — something failed on our side; retry in a moment

Update a restaurant

patch/restaurants/{ref}requiere menu:writeupdateRestaurant

Changes only the fields given: name, WhatsApp phone, address, currency, type, language (the primary one) or languages (the additional ones, never the primary). Changing the currency converts no prices and changing a language translates nothing. The identifier has its own endpoint.

Parámetros

NombreDóndeDescripción
ref*rutaThe restaurant identifier (the slug in its public URL, e.g. "pizzeria-roma") or its id, as returned by GET /restaurants

Cuerpo (JSON)

CampoTipoDescripción
namestringhasta 50 caracteres
phonestringWhatsApp number that receives orders, in E.164 format (+573001234567)
addressstringStreet address shown on the menu. Empty string removes it.hasta 65 caracteres
currencystringISO 4217 code every price is shown in. Changing it converts nothing.
type"whatsapp" | "read_only""whatsapp" takes orders by WhatsApp; "read_only" only shows the menu
language"es" | "en" | "pt" | "fr" | "de" | "it"The primary language of the menu: the one its names and descriptions are written in, and the one WhatsApp orders are composed in. Changing it translates nothing. If the new one was among `languages`, it is taken out of that list.
languages"es" | "en" | "pt" | "fr" | "de" | "it"[]Up to 3 additional languages diners can read the menu in, translated by hand through `translations`. Never the primary language. Replaces the whole list; [] leaves the menu in one language.
opening_hoursobject | nullWeekly opening hours, with the holidays and other dates that have hours of their own. Replaces the whole schedule when provided; null removes it, so the menu takes orders at any time again.
enabled*booleantrue shows open/closed on the menu and blocks WhatsApp orders while closed; false keeps the hours saved but the menu ignores them
time_zone*stringIANA time zone the hours are in, e.g. "America/Bogota"hasta 64 caracteres
days*objectThe whole week. Each day is a list of up to 3 ranges that must not overlap; a day left out or [] is closed.
mondayobject[]
opens*stringOpening time, HH:MM in the restaurant time zone
closes*stringClosing time, HH:MM. Earlier than opens means it closes after midnight (18:00–02:00); 00:00 is midnight, so 00:00–00:00 is open all day.
tuesdayobject[]
opens*stringOpening time, HH:MM in the restaurant time zone
closes*stringClosing time, HH:MM. Earlier than opens means it closes after midnight (18:00–02:00); 00:00 is midnight, so 00:00–00:00 is open all day.
wednesdayobject[]
opens*stringOpening time, HH:MM in the restaurant time zone
closes*stringClosing time, HH:MM. Earlier than opens means it closes after midnight (18:00–02:00); 00:00 is midnight, so 00:00–00:00 is open all day.
thursdayobject[]
opens*stringOpening time, HH:MM in the restaurant time zone
closes*stringClosing time, HH:MM. Earlier than opens means it closes after midnight (18:00–02:00); 00:00 is midnight, so 00:00–00:00 is open all day.
fridayobject[]
opens*stringOpening time, HH:MM in the restaurant time zone
closes*stringClosing time, HH:MM. Earlier than opens means it closes after midnight (18:00–02:00); 00:00 is midnight, so 00:00–00:00 is open all day.
saturdayobject[]
opens*stringOpening time, HH:MM in the restaurant time zone
closes*stringClosing time, HH:MM. Earlier than opens means it closes after midnight (18:00–02:00); 00:00 is midnight, so 00:00–00:00 is open all day.
sundayobject[]
opens*stringOpening time, HH:MM in the restaurant time zone
closes*stringClosing time, HH:MM. Earlier than opens means it closes after midnight (18:00–02:00); 00:00 is midnight, so 00:00–00:00 is open all day.
special_datesobject[]Holidays and other one-off dates, up to 30, each once. On that date its hours replace the weekday's. Nothing works out which dates are holidays: list each one. Replaced with the rest of the schedule, so send every date to keep; left out or [] removes them all.
date*stringThe date on the restaurant calendar, YYYY-MM-DD
namestring | nullWhat the owner calls the date, e.g. "Navidad". Only the owner sees it in the dashboard; the menu does not show it.hasta 40 caracteres
hours*object[]The ranges for that date only; [] is closed all day
opens*stringOpening time, HH:MM in the restaurant time zone
closes*stringClosing time, HH:MM. Earlier than opens means it closes after midnight (18:00–02:00); 00:00 is midnight, so 00:00–00:00 is open all day.
order_settingsobject | nullWhat the WhatsApp checkout asks besides name and phone. Replaces the whole settings when provided (a list left out is empty); null removes them, so the checkout asks name and phone only.
fulfillment"delivery" | "pickup" | "table"[]How the diner may receive the order: "delivery" asks for an address, "table" for a table number, "pickup" for nothing. Left out or []: not asked.por defecto []
payment_methods"cash" | "transfer" | "card"[]Built-in payment methods the diner may pick: "cash" (they can say what bill they pay with), "transfer", "card" (paid on delivery or at the place).por defecto []
custom_payment_methodsstring[]Up to 3 payment methods named by the owner, shown to the diner as written, e.g. "Nequi" or "Pix".por defecto []

Ejemplo

curl -X PATCH "https://delimenu.co/api/v1/restaurants/pizzeria-roma" \
  -H "Authorization: Bearer dmk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"phone":"+573009876543","address":"Carrera 7 # 45-10, Bogotá","opening_hours":{"enabled":true,"time_zone":"America/Bogota","days":{"monday":[{"opens":"12:00","closes":"15:00"},{"opens":"18:00","closes":"22:00"}],"tuesday":[{"opens":"12:00","closes":"15:00"},{"opens":"18:00","closes":"22:00"}],"wednesday":[{"opens":"12:00","closes":"15:00"},{"opens":"18:00","closes":"22:00"}],"thursday":[{"opens":"12:00","closes":"15:00"},{"opens":"18:00","closes":"22:00"}],"friday":[{"opens":"12:00","closes":"02:00"}],"saturday":[{"opens":"00:00","closes":"00:00"}],"sunday":[]},"special_dates":[{"date":"2030-11-11","name":"Festivo","hours":[{"opens":"12:00","closes":"17:00"}]},{"date":"2030-12-25","name":"Navidad","hours":[]}]},"order_settings":{"fulfillment":["delivery","pickup"],"payment_methods":["cash","transfer"],"custom_payment_methods":["Nequi"]}}'

Respuesta 200

{
  "restaurant": {
    "id": "aR3kX9pLm2QzT7vN4bYc",
    "identifier": "pizzeria-roma",
    "name": "Pizzería Roma",
    "currency": "COP",
    "type": "whatsapp",
    "phone": "+573009876543",
    "address": "Carrera 7 # 45-10, Bogotá",
    "menu_url": "https://delimenu.co/pizzeria-roma",
    "logo_url": "https://firebasestorage.googleapis.com/v0/b/example/o/logo_512x512.png?alt=media",
    "banner_url": null,
    "language": "es",
    "languages": [
      "en"
    ],
    "opening_hours": {
      "enabled": true,
      "time_zone": "America/Bogota",
      "days": {
        "monday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "tuesday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "wednesday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "thursday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "friday": [
          {
            "opens": "12:00",
            "closes": "02:00"
          }
        ],
        "saturday": [
          {
            "opens": "00:00",
            "closes": "00:00"
          }
        ],
        "sunday": []
      },
      "special_dates": [
        {
          "date": "2030-11-11",
          "name": "Festivo",
          "hours": [
            {
              "opens": "12:00",
              "closes": "17:00"
            }
          ]
        },
        {
          "date": "2030-12-25",
          "name": "Navidad",
          "hours": []
        }
      ]
    },
    "order_settings": {
      "fulfillment": [
        "delivery",
        "pickup"
      ],
      "payment_methods": [
        "cash",
        "transfer"
      ],
      "custom_payment_methods": [
        "Nequi"
      ]
    },
    "promos": [
      {
        "id": "8c1f2e4a-5b6d-4e7f-9a0b-1c2d3e4f5a6b",
        "image_url": "https://firebasestorage.googleapis.com/v0/b/example/o/promo-halloween_1080x1080.webp?alt=media",
        "image_width": 864,
        "image_height": 1080,
        "active": true,
        "starts_at": "2026-10-25T05:00:00.000Z",
        "ends_at": "2026-11-01T04:59:59.000Z",
        "link": {
          "type": "url",
          "url": "https://www.instagram.com/pizzeriaroma"
        }
      }
    ],
    "trial_active": false
  }
}

Campos de la respuesta

CampoTipoDescripción
restaurant*object
id*string
identifier*string
name*string
currency*stringISO 4217 code every price is in
type*"whatsapp" | "read_only""whatsapp" takes orders by WhatsApp; "read_only" only shows the menu
phone*string | nullWhatsApp number in E.164, when ordering is enabled
address*string | null
menu_url*string
logo_url*string | null
banner_url*string | null
language*"es" | "en" | "pt" | "fr" | "de" | "it"The primary language: the one name, description and every untranslated field are written in
languages*"es" | "en" | "pt" | "fr" | "de" | "it"[]The additional languages diners can read the menu in, translated through `translations`. Empty for a menu in one language.
opening_hours*object | nullWeekly opening hours with their special dates, or null when the restaurant has none
enabled*booleanfalse: the hours are saved but the menu ignores them and takes orders at any time
time_zone*stringIANA time zone the hours are in
days*object
monday*object[]Empty when closed that day
tuesday*object[]Empty when closed that day
wednesday*object[]Empty when closed that day
thursday*object[]Empty when closed that day
friday*object[]Empty when closed that day
saturday*object[]Empty when closed that day
sunday*object[]Empty when closed that day
special_dates*object[]Holidays and other one-off dates, in date order. On each, these hours replace the weekday's.
date*stringYYYY-MM-DD on the restaurant calendar
name*string | nullThe owner's note for the date, or null. The menu does not show it.
hours*object[]Empty when closed that date
order_settings*objectWhat the WhatsApp checkout asks besides name and phone. All three empty: it asks nothing more.
fulfillment*"delivery" | "pickup" | "table"[]How the diner may receive the order; they pick one at checkout. Empty: not asked.
payment_methods*"cash" | "transfer" | "card"[]Built-in payment methods offered at checkout. "card" is paid on delivery or at the place.
custom_payment_methods*string[]Payment methods the owner named, shown as written (e.g. "Nequi").
promos*object[]Every promo in display order, paused ones included
id*string
image_url*stringThe resized poster (fits 1080×1080, aspect ratio kept)
image_width*number | null
image_height*number | null
active*booleanfalse: paused by the owner
starts_at*string | nullISO 8601. null: no start
ends_at*string | nullISO 8601. null: no end
link*any | nullWhat tapping it does: a "View product" or a "More info" button; null: nothing
trial_active*boolean

Errores

  • 400 VALIDATION — a field is missing or malformed; `issues` names it
  • 401 UNAUTHORIZED — the key is missing, unknown or revoked
  • 402 NOT_PREMIUM — the restaurant has no active subscription or trial
  • 403 FORBIDDEN — the key lacks the scope this endpoint needs, or the account's role in the restaurant's team does not allow it
  • 404 NOT_FOUND — no such restaurant in this account, or no such item in it
  • 500 INTERNAL — something failed on our side; retry in a moment

Change the public URL

put/restaurants/{ref}/identifierrequiere menu:writeupdateRestaurantIdentifier

Changes the slug of the menu (delimenu.co/{identifier}). The old URL stops working immediately; printed QR codes keep working because they point at the restaurant id.

Parámetros

NombreDóndeDescripción
ref*rutaThe restaurant identifier (the slug in its public URL, e.g. "pizzeria-roma") or its id, as returned by GET /restaurants

Cuerpo (JSON)

CampoTipoDescripción
identifier*stringThe new public slug: lowercase letters, digits, dots, hyphens and underscores, e.g. "pizzeria-roma"hasta 50 caracteres

Ejemplo

curl -X PUT "https://delimenu.co/api/v1/restaurants/pizzeria-roma/identifier" \
  -H "Authorization: Bearer dmk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"identifier":"pizzeria-roma-chapinero"}'

Respuesta 200

{
  "restaurant": {
    "id": "aR3kX9pLm2QzT7vN4bYc",
    "identifier": "pizzeria-roma-chapinero",
    "name": "Pizzería Roma",
    "currency": "COP",
    "type": "whatsapp",
    "phone": "+573001234567",
    "address": "Calle 10 # 5-20, Bogotá",
    "menu_url": "https://delimenu.co/pizzeria-roma-chapinero",
    "logo_url": "https://firebasestorage.googleapis.com/v0/b/example/o/logo_512x512.png?alt=media",
    "banner_url": null,
    "language": "es",
    "languages": [
      "en"
    ],
    "opening_hours": {
      "enabled": true,
      "time_zone": "America/Bogota",
      "days": {
        "monday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "tuesday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "wednesday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "thursday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "friday": [
          {
            "opens": "12:00",
            "closes": "02:00"
          }
        ],
        "saturday": [
          {
            "opens": "00:00",
            "closes": "00:00"
          }
        ],
        "sunday": []
      },
      "special_dates": [
        {
          "date": "2030-11-11",
          "name": "Festivo",
          "hours": [
            {
              "opens": "12:00",
              "closes": "17:00"
            }
          ]
        },
        {
          "date": "2030-12-25",
          "name": "Navidad",
          "hours": []
        }
      ]
    },
    "order_settings": {
      "fulfillment": [
        "delivery",
        "pickup"
      ],
      "payment_methods": [
        "cash",
        "transfer"
      ],
      "custom_payment_methods": [
        "Nequi"
      ]
    },
    "promos": [
      {
        "id": "8c1f2e4a-5b6d-4e7f-9a0b-1c2d3e4f5a6b",
        "image_url": "https://firebasestorage.googleapis.com/v0/b/example/o/promo-halloween_1080x1080.webp?alt=media",
        "image_width": 864,
        "image_height": 1080,
        "active": true,
        "starts_at": "2026-10-25T05:00:00.000Z",
        "ends_at": "2026-11-01T04:59:59.000Z",
        "link": {
          "type": "url",
          "url": "https://www.instagram.com/pizzeriaroma"
        }
      }
    ],
    "trial_active": false
  }
}

Campos de la respuesta

CampoTipoDescripción
restaurant*object
id*string
identifier*string
name*string
currency*stringISO 4217 code every price is in
type*"whatsapp" | "read_only""whatsapp" takes orders by WhatsApp; "read_only" only shows the menu
phone*string | nullWhatsApp number in E.164, when ordering is enabled
address*string | null
menu_url*string
logo_url*string | null
banner_url*string | null
language*"es" | "en" | "pt" | "fr" | "de" | "it"The primary language: the one name, description and every untranslated field are written in
languages*"es" | "en" | "pt" | "fr" | "de" | "it"[]The additional languages diners can read the menu in, translated through `translations`. Empty for a menu in one language.
opening_hours*object | nullWeekly opening hours with their special dates, or null when the restaurant has none
enabled*booleanfalse: the hours are saved but the menu ignores them and takes orders at any time
time_zone*stringIANA time zone the hours are in
days*object
monday*object[]Empty when closed that day
tuesday*object[]Empty when closed that day
wednesday*object[]Empty when closed that day
thursday*object[]Empty when closed that day
friday*object[]Empty when closed that day
saturday*object[]Empty when closed that day
sunday*object[]Empty when closed that day
special_dates*object[]Holidays and other one-off dates, in date order. On each, these hours replace the weekday's.
date*stringYYYY-MM-DD on the restaurant calendar
name*string | nullThe owner's note for the date, or null. The menu does not show it.
hours*object[]Empty when closed that date
order_settings*objectWhat the WhatsApp checkout asks besides name and phone. All three empty: it asks nothing more.
fulfillment*"delivery" | "pickup" | "table"[]How the diner may receive the order; they pick one at checkout. Empty: not asked.
payment_methods*"cash" | "transfer" | "card"[]Built-in payment methods offered at checkout. "card" is paid on delivery or at the place.
custom_payment_methods*string[]Payment methods the owner named, shown as written (e.g. "Nequi").
promos*object[]Every promo in display order, paused ones included
id*string
image_url*stringThe resized poster (fits 1080×1080, aspect ratio kept)
image_width*number | null
image_height*number | null
active*booleanfalse: paused by the owner
starts_at*string | nullISO 8601. null: no start
ends_at*string | nullISO 8601. null: no end
link*any | nullWhat tapping it does: a "View product" or a "More info" button; null: nothing
trial_active*boolean

Errores

  • 400 VALIDATION — a field is missing or malformed; `issues` names it
  • 401 UNAUTHORIZED — the key is missing, unknown or revoked
  • 402 NOT_PREMIUM — the restaurant has no active subscription or trial
  • 403 FORBIDDEN — the key lacks the scope this endpoint needs, or the account's role in the restaurant's team does not allow it
  • 404 NOT_FOUND — no such restaurant in this account, or no such item in it
  • 409 CONFLICT — the identifier is already taken
  • 500 INTERNAL — something failed on our side; retry in a moment

Get the whole menu

get/restaurants/{ref}/menurequiere menu:readgetMenu

Every category in display order, each with its products in display order, prices, availability and variants. Hidden products are omitted unless include_hidden is true. Uncategorized products are listed apart.

Parámetros

NombreDóndeDescripción
ref*rutaThe restaurant identifier (the slug in its public URL, e.g. "pizzeria-roma") or its id, as returned by GET /restaurants
include_hiddenqueryAlso return the products hidden from the public menu

Ejemplo

curl -X GET "https://delimenu.co/api/v1/restaurants/pizzeria-roma/menu?include_hidden=true" \
  -H "Authorization: Bearer dmk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Respuesta 200

{
  "restaurant": {
    "id": "aR3kX9pLm2QzT7vN4bYc",
    "identifier": "pizzeria-roma",
    "name": "Pizzería Roma",
    "currency": "COP",
    "type": "whatsapp",
    "phone": "+573001234567",
    "address": "Calle 10 # 5-20, Bogotá",
    "menu_url": "https://delimenu.co/pizzeria-roma",
    "logo_url": "https://firebasestorage.googleapis.com/v0/b/example/o/logo_512x512.png?alt=media",
    "banner_url": null,
    "language": "es",
    "languages": [
      "en"
    ],
    "opening_hours": {
      "enabled": true,
      "time_zone": "America/Bogota",
      "days": {
        "monday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "tuesday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "wednesday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "thursday": [
          {
            "opens": "12:00",
            "closes": "15:00"
          },
          {
            "opens": "18:00",
            "closes": "22:00"
          }
        ],
        "friday": [
          {
            "opens": "12:00",
            "closes": "02:00"
          }
        ],
        "saturday": [
          {
            "opens": "00:00",
            "closes": "00:00"
          }
        ],
        "sunday": []
      },
      "special_dates": [
        {
          "date": "2030-11-11",
          "name": "Festivo",
          "hours": [
            {
              "opens": "12:00",
              "closes": "17:00"
            }
          ]
        },
        {
          "date": "2030-12-25",
          "name": "Navidad",
          "hours": []
        }
      ]
    },
    "order_settings": {
      "fulfillment": [
        "delivery",
        "pickup"
      ],
      "payment_methods": [
        "cash",
        "transfer"
      ],
      "custom_payment_methods": [
        "Nequi"
      ]
    },
    "promos": [
      {
        "id": "8c1f2e4a-5b6d-4e7f-9a0b-1c2d3e4f5a6b",
        "image_url": "https://firebasestorage.googleapis.com/v0/b/example/o/promo-halloween_1080x1080.webp?alt=media",
        "image_width": 864,
        "image_height": 1080,
        "active": true,
        "starts_at": "2026-10-25T05:00:00.000Z",
        "ends_at": "2026-11-01T04:59:59.000Z",
        "link": {
          "type": "url",
          "url": "https://www.instagram.com/pizzeriaroma"
        }
      }
    ],
    "trial_active": false
  },
  "categories": [
    {
      "id": "k3Qm8vXb2LpN7wRt1YaZ",
      "name": "Pizzas",
      "position": 1,
      "products": [
        {
          "id": "p9Hs4TqL2mNc8VbX6Rdy",
          "category_id": "k3Qm8vXb2LpN7wRt1YaZ",
          "name": "Pizza Margarita",
          "price": 32000,
          "original_price": 38000,
          "description": "Tomate, mozzarella y albahaca fresca",
          "available": true,
          "hidden": false,
          "featured": true,
          "has_image": true,
          "image_url": "https://firebasestorage.googleapis.com/v0/b/example/o/margarita_1080x1080.jpg?alt=media",
          "variants": [
            {
              "id": "26fed9f6-2e3b-4310-b899-5641bf98e2f0",
              "name": "Tamaño",
              "min_selections": 1,
              "max_selections": 1,
              "options": [
                {
                  "id": "5c4f8896-06a3-4482-99d1-185a909d0415",
                  "name": "Personal",
                  "price": 0,
                  "show": true
                },
                {
                  "id": "b1e0c4d2-7f3a-4c8e-9d21-0a5f6e7b8c9d",
                  "name": "Familiar",
                  "price": 12000,
                  "show": true
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "featured_product_ids": [
    "p9Hs4TqL2mNc8VbX6Rdy"
  ],
  "uncategorized_products": [],
  "hidden_products_omitted": 2,
  "note": "Prices are in COP, major units."
}

Campos de la respuesta

CampoTipoDescripción
restaurant*object
id*string
identifier*string
name*string
currency*stringISO 4217 code every price is in
type*"whatsapp" | "read_only""whatsapp" takes orders by WhatsApp; "read_only" only shows the menu
phone*string | nullWhatsApp number in E.164, when ordering is enabled
address*string | null
menu_url*string
logo_url*string | null
banner_url*string | null
language*"es" | "en" | "pt" | "fr" | "de" | "it"The primary language: the one name, description and every untranslated field are written in
languages*"es" | "en" | "pt" | "fr" | "de" | "it"[]The additional languages diners can read the menu in, translated through `translations`. Empty for a menu in one language.
opening_hours*object | nullWeekly opening hours with their special dates, or null when the restaurant has none
enabled*booleanfalse: the hours are saved but the menu ignores them and takes orders at any time
time_zone*stringIANA time zone the hours are in
days*object
monday*object[]Empty when closed that day
tuesday*object[]Empty when closed that day
wednesday*object[]Empty when closed that day
thursday*object[]Empty when closed that day
friday*object[]Empty when closed that day
saturday*object[]Empty when closed that day
sunday*object[]Empty when closed that day
special_dates*object[]Holidays and other one-off dates, in date order. On each, these hours replace the weekday's.
date*stringYYYY-MM-DD on the restaurant calendar
name*string | nullThe owner's note for the date, or null. The menu does not show it.
hours*object[]Empty when closed that date
order_settings*objectWhat the WhatsApp checkout asks besides name and phone. All three empty: it asks nothing more.
fulfillment*"delivery" | "pickup" | "table"[]How the diner may receive the order; they pick one at checkout. Empty: not asked.
payment_methods*"cash" | "transfer" | "card"[]Built-in payment methods offered at checkout. "card" is paid on delivery or at the place.
custom_payment_methods*string[]Payment methods the owner named, shown as written (e.g. "Nequi").
promos*object[]Every promo in display order, paused ones included
id*string
image_url*stringThe resized poster (fits 1080×1080, aspect ratio kept)
image_width*number | null
image_height*number | null
active*booleanfalse: paused by the owner
starts_at*string | nullISO 8601. null: no start
ends_at*string | nullISO 8601. null: no end
link*any | nullWhat tapping it does: a "View product" or a "More info" button; null: nothing
trial_active*boolean
categories*object[]
id*string
name*string
translationsobjectThe name in other languages, keyed by language code, e.g. { "en": { "name": "Large" } }. Absent when nothing is translated; a language missing here falls back to `name`.
esobject
namestring
enobject
namestring
ptobject
namestring
frobject
namestring
deobject
namestring
itobject
namestring
position*integer1-based display positionmin -9007199254740991 · max 9007199254740991
products*object[]
id*string
category_id*string
name*string
price*numberMajor units in the restaurant's currency
original_pricenumberPresent while the product is on promotion
descriptionstring
available*booleanfalse renders "Sin stock"
hidden*booleantrue keeps it off the public menu
featured*booleantrue also shows it in the "Destacados" carousel at the top of the menu
has_image*boolean
image_urlstring
variants*object[]
id*string
name*string
min_selections*integermin -9007199254740991 · max 9007199254740991
max_selections*integer0 is no limitmin -9007199254740991 · max 9007199254740991
max_per_optionintegermin -9007199254740991 · max 9007199254740991
options*object[]
translationsobjectThe name in other languages, keyed by language code, e.g. { "en": { "name": "Large" } }. Absent when nothing is translated; a language missing here falls back to `name`.
translationsobjectName and description in other languages, keyed by language code. Absent when nothing is translated; a language or field missing here falls back to `name` / `description`.
esobject
enobject
ptobject
frobject
deobject
itobject
featured_product_ids*string[]The "Destacados" carousel as the public menu shows it: featured products that are available and not hidden, in the owner's order, at most the limit
uncategorized_products*object[]
id*string
category_id*string
name*string
price*numberMajor units in the restaurant's currency
original_pricenumberPresent while the product is on promotion
descriptionstring
available*booleanfalse renders "Sin stock"
hidden*booleantrue keeps it off the public menu
featured*booleantrue also shows it in the "Destacados" carousel at the top of the menu
has_image*boolean
image_urlstring
variants*object[]
id*string
name*string
min_selections*integermin -9007199254740991 · max 9007199254740991
max_selections*integer0 is no limitmin -9007199254740991 · max 9007199254740991
max_per_optionintegermin -9007199254740991 · max 9007199254740991
options*object[]
id*string
name*string
price*numberExtra charge on top of the product price
show*boolean
translationsobjectThe name in other languages, keyed by language code, e.g. { "en": { "name": "Large" } }. Absent when nothing is translated; a language missing here falls back to `name`.
translationsobjectThe name in other languages, keyed by language code, e.g. { "en": { "name": "Large" } }. Absent when nothing is translated; a language missing here falls back to `name`.
esobject
enobject
ptobject
frobject
deobject
itobject
translationsobjectName and description in other languages, keyed by language code. Absent when nothing is translated; a language or field missing here falls back to `name` / `description`.
esobject
namestring
descriptionstring
enobject
namestring
descriptionstring
ptobject
namestring
descriptionstring
frobject
namestring
descriptionstring
deobject
namestring
descriptionstring
itobject
namestring
descriptionstring
hidden_products_omitted*integermin -9007199254740991 · max 9007199254740991
note*string

Errores

  • 400 VALIDATION — a field is missing or malformed; `issues` names it
  • 401 UNAUTHORIZED — the key is missing, unknown or revoked
  • 402 NOT_PREMIUM — the restaurant has no active subscription or trial
  • 403 FORBIDDEN — the key lacks the scope this endpoint needs, or the account's role in the restaurant's team does not allow it
  • 404 NOT_FOUND — no such restaurant in this account, or no such item in it
  • 500 INTERNAL — something failed on our side; retry in a moment

Desarrolladores