- Developers
- API reference
- Images
Images
Product photos, logo and banner from a public URL.
Photos, logo and banner from a public https URL (JPG, PNG or WEBP, up to 5 MB).
Every operation comes with its curl and an example response; the keys and ids in the examples are made up. Fields marked with * are required.
Set the logo or the banner
put
/restaurants/{ref}/images/{kind}requires menu:writesetRestaurantImageDownloads the image at a public https URL and sets it as the logo or the banner, replacing the current one. Takes a few seconds while the image is optimised.
Parameters
| Name | In | Description |
|---|---|---|
ref* | path | The restaurant identifier (the slug in its public URL, e.g. "pizzeria-roma") or its id, as returned by GET /restaurants |
kind* | path | "logo" is shown at 512×512; "banner" is the header image, 1080×1080 max"logo" | "banner" |
Body (JSON)
| Field | Type | Description |
|---|---|---|
image_url* | string | Public https URL of a JPG, PNG or WEBP image up to 5 MBup to 2048 characters |
Example
curl -X PUT "https://delimenu.co/api/v1/restaurants/pizzeria-roma/images/logo" \
-H "Authorization: Bearer dmk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"image_url":"https://example.com/logo.png"}'Response 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
}
}Response fields
| Field | Type | Description |
|---|---|---|
restaurant* | object | |
id* | string | |
identifier* | string | |
name* | string | |
currency* | string | ISO 4217 code every price is in |
type* | "whatsapp" | "read_only" | "whatsapp" takes orders by WhatsApp; "read_only" only shows the menu |
phone* | string | null | WhatsApp 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 | null | Weekly opening hours with their special dates, or null when the restaurant has none |
enabled* | boolean | false: the hours are saved but the menu ignores them and takes orders at any time |
time_zone* | string | IANA 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* | string | YYYY-MM-DD on the restaurant calendar |
name* | string | null | The owner's note for the date, or null. The menu does not show it. |
hours* | object[] | Empty when closed that date |
order_settings* | object | What 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* | string | The resized poster (fits 1080×1080, aspect ratio kept) |
image_width* | number | null | |
image_height* | number | null | |
active* | boolean | false: paused by the owner |
starts_at* | string | null | ISO 8601. null: no start |
ends_at* | string | null | ISO 8601. null: no end |
link* | any | null | What tapping it does: a "View product" or a "More info" button; null: nothing |
trial_active* | boolean |
Errors
400VALIDATION — a field is missing or malformed; `issues` names it401UNAUTHORIZED — the key is missing, unknown or revoked402NOT_PREMIUM — the restaurant has no active subscription or trial403FORBIDDEN — the key lacks the scope this endpoint needs, or the account's role in the restaurant's team does not allow it404NOT_FOUND — no such restaurant in this account, or no such item in it500INTERNAL — something failed on our side; retry in a moment
Remove the logo or the banner
delete
/restaurants/{ref}/images/{kind}requires menu:writeremoveRestaurantImageParameters
| Name | In | Description |
|---|---|---|
ref* | path | The restaurant identifier (the slug in its public URL, e.g. "pizzeria-roma") or its id, as returned by GET /restaurants |
kind* | path | "logo" is shown at 512×512; "banner" is the header image, 1080×1080 max"logo" | "banner" |
Example
curl -X DELETE "https://delimenu.co/api/v1/restaurants/pizzeria-roma/images/logo" \
-H "Authorization: Bearer dmk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Response 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": null,
"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
}
}Response fields
| Field | Type | Description |
|---|---|---|
restaurant* | object | |
id* | string | |
identifier* | string | |
name* | string | |
currency* | string | ISO 4217 code every price is in |
type* | "whatsapp" | "read_only" | "whatsapp" takes orders by WhatsApp; "read_only" only shows the menu |
phone* | string | null | WhatsApp 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 | null | Weekly opening hours with their special dates, or null when the restaurant has none |
enabled* | boolean | false: the hours are saved but the menu ignores them and takes orders at any time |
time_zone* | string | IANA 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* | string | YYYY-MM-DD on the restaurant calendar |
name* | string | null | The owner's note for the date, or null. The menu does not show it. |
hours* | object[] | Empty when closed that date |
order_settings* | object | What 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* | string | The resized poster (fits 1080×1080, aspect ratio kept) |
image_width* | number | null | |
image_height* | number | null | |
active* | boolean | false: paused by the owner |
starts_at* | string | null | ISO 8601. null: no start |
ends_at* | string | null | ISO 8601. null: no end |
link* | any | null | What tapping it does: a "View product" or a "More info" button; null: nothing |
trial_active* | boolean |
Errors
401UNAUTHORIZED — the key is missing, unknown or revoked402NOT_PREMIUM — the restaurant has no active subscription or trial403FORBIDDEN — the key lacks the scope this endpoint needs, or the account's role in the restaurant's team does not allow it404NOT_FOUND — no such restaurant in this account, or no such item in it500INTERNAL — something failed on our side; retry in a moment
Set the product photo
put
/restaurants/{ref}/products/{id}/imagerequires menu:writesetProductImageDownloads the image at a public https URL and makes it the product photo, replacing the current one. Takes a few seconds while the image is optimised.
Parameters
| Name | In | Description |
|---|---|---|
ref* | path | The restaurant identifier (the slug in its public URL, e.g. "pizzeria-roma") or its id, as returned by GET /restaurants |
id* | path | The product id, from GET /restaurants/{ref}/products |
Body (JSON)
| Field | Type | Description |
|---|---|---|
image_url* | string | Public https URL of a JPG, PNG or WEBP image up to 5 MBup to 2048 characters |
Example
curl -X PUT "https://delimenu.co/api/v1/restaurants/pizzeria-roma/products/p9Hs4TqL2mNc8VbX6Rdy/image" \
-H "Authorization: Bearer dmk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"image_url":"https://example.com/fotos/margarita.jpg"}'Response 200
{
"product": {
"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
}
]
}
]
}
}Response fields
| Field | Type | Description |
|---|---|---|
product* | object | |
id* | string | |
category_id* | string | |
name* | string | |
price* | number | Major units in the restaurant's currency |
original_price | number | Present while the product is on promotion |
description | string | |
available* | boolean | false renders "Sin stock" |
hidden* | boolean | true keeps it off the public menu |
featured* | boolean | true also shows it in the "Destacados" carousel at the top of the menu |
has_image* | boolean | |
image_url | string | |
variants* | object[] | |
id* | string | |
name* | string | |
min_selections* | integer | min -9007199254740991 · max 9007199254740991 |
max_selections* | integer | 0 is no limitmin -9007199254740991 · max 9007199254740991 |
max_per_option | integer | min -9007199254740991 · max 9007199254740991 |
options* | object[] | |
id* | string | |
name* | string | |
price* | number | Extra charge on top of the product price |
show* | boolean | |
translations | object | The 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`. |
translations | object | The 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`. |
es | object | |
en | object | |
pt | object | |
fr | object | |
de | object | |
it | object | |
translations | object | Name 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`. |
es | object | |
name | string | |
description | string | |
en | object | |
name | string | |
description | string | |
pt | object | |
name | string | |
description | string | |
fr | object | |
name | string | |
description | string | |
de | object | |
name | string | |
description | string | |
it | object | |
name | string | |
description | string |
Errors
400VALIDATION — a field is missing or malformed; `issues` names it401UNAUTHORIZED — the key is missing, unknown or revoked402NOT_PREMIUM — the restaurant has no active subscription or trial403FORBIDDEN — the key lacks the scope this endpoint needs, or the account's role in the restaurant's team does not allow it404NOT_FOUND — no such restaurant in this account, or no such item in it500INTERNAL — something failed on our side; retry in a moment
Remove the product photo
delete
/restaurants/{ref}/products/{id}/imagerequires menu:writeremoveProductImageParameters
| Name | In | Description |
|---|---|---|
ref* | path | The restaurant identifier (the slug in its public URL, e.g. "pizzeria-roma") or its id, as returned by GET /restaurants |
id* | path | The product id, from GET /restaurants/{ref}/products |
Example
curl -X DELETE "https://delimenu.co/api/v1/restaurants/pizzeria-roma/products/p9Hs4TqL2mNc8VbX6Rdy/image" \
-H "Authorization: Bearer dmk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Response 200
{
"product_id": "p9Hs4TqL2mNc8VbX6Rdy",
"has_image": false
}Response fields
| Field | Type | Description |
|---|---|---|
product_id* | string | |
has_image* | false |
Errors
401UNAUTHORIZED — the key is missing, unknown or revoked402NOT_PREMIUM — the restaurant has no active subscription or trial403FORBIDDEN — the key lacks the scope this endpoint needs, or the account's role in the restaurant's team does not allow it404NOT_FOUND — no such restaurant in this account, or no such item in it500INTERNAL — something failed on our side; retry in a moment