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
name
string
en
object
name
string
pt
object
name
string
fr
object
name
string
de
object
name
string
it
object
name
string
position*
integer
min -9007199254740991 · max 9007199254740991
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
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
Adds a category at the end of the menu. name is in the menu's primary language; translations carries it in the others.
Parámetros
Nombre
Dónde
Descripción
ref*
ruta
The restaurant identifier (the slug in its public URL, e.g. "pizzeria-roma") or its id, as returned by GET /restaurants
Cuerpo (JSON)
Campo
Tipo
Descripción
name*
string
Category namehasta 50 caracteres
translations
object
The category name in the menu's other languages, e.g. { "en": { "name": "Drinks" } }. Keyed by language code (es, en, pt, fr, de, it). Shown to diners who read the menu in that language; a language without a translation falls back to the original text, and an entry in the menu's primary language is ignored. Replaces the whole map when provided; {} removes every translation.
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
name
string
en
object
name
string
pt
object
name
string
fr
object
name
string
de
object
name
string
it
object
name
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
404 NOT_FOUND — no such restaurant in this account, or no such item in it
409 CONFLICT — a category with that name already exists
500 INTERNAL — something failed on our side; retry in a moment
Pass name, translations or both; what is not passed is left as it is. translations replaces the whole map, and {} removes every translation.
Parámetros
Nombre
Dónde
Descripción
ref*
ruta
The restaurant identifier (the slug in its public URL, e.g. "pizzeria-roma") or its id, as returned by GET /restaurants
id*
ruta
The category id, from GET /restaurants/{ref}/categories
Cuerpo (JSON)
Campo
Tipo
Descripción
name
string
Category namehasta 50 caracteres
translations
object
The category name in the menu's other languages, e.g. { "en": { "name": "Drinks" } }. Keyed by language code (es, en, pt, fr, de, it). Shown to diners who read the menu in that language; a language without a translation falls back to the original text, and an entry in the menu's primary language is ignored. Replaces the whole map when provided; {} removes every translation.
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
name
string
en
object
name
string
pt
object
name
string
fr
object
name
string
de
object
name
string
it
object
name
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
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