L'API FoodEatUp expose l'ensemble de votre restaurant — stocks, carte, commandes,
HACCP, équipe, marketing, fidélité — via un point d'entrée unique au protocole
JSON-RPC 2.0 (MCP). Connectez-la à n8n, Make, Zapier ou à vos
propres scripts pour construire vos automatisations, exactement comme nos équipes.
187 outils sont disponibles,
présentés module par module.
Toutes les requêtes suivantes portent ce jeton dans l'en-tête
Authorization: Bearer <access_token>. La clé est liée à
votre établissement : chaque appel est automatiquement restreint à
ses données — il est impossible de lire ou modifier un autre établissement, même en
passant un autre establishment_id (il est réécrit côté serveur).
Chaque réponse d'outil suit la même enveloppe — le résultat métier est le JSON contenu dans result.content[0].text :
Bonnes pratiques : réutilisez votre jeton (ne redemandez pas un jeton à chaque appel),
et en cas de 429 appliquez un retry exponentiel (2 s, 4 s, 8 s…).
Catalogue généré automatiquement depuis le serveur — il reflète toujours exactement
les outils réellement disponibles. Les exemples n'incluent que les paramètres requis ;
les paramètres optionnels sont listés dans le tableau de chaque outil.
Aucun outil ne correspond à cette recherche.
Produits
5 outils
Liste tous les produits d'un établissement.
produits.products.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_products",
"arguments": {
"establishment_id": 1
}
}
}'
Crée un nouveau produit dans le menu d'un établissement.
produits.products.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
name |
string |
requis
|
Nom du produit |
description |
string |
optionnel
|
Description (optionnel) |
price_by_unit |
number |
requis
|
Prix unitaire HT |
unit |
string |
requis
|
Unité (ex: pièce, kg, L) |
stock_quantity |
number |
optionnel
|
Quantité en stock (défaut: 0) |
is_promotion |
boolean |
optionnel
|
En promotion (défaut: false) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_product",
"arguments": {
"establishment_id": 1,
"name": "exemple",
"price_by_unit": 1,
"unit": "exemple"
}
}
}'
Retourne le détail d'un produit du catalogue d'un établissement.
produits.products.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
establishment_product_id |
integer |
requis
|
ID du produit (champ "id" renvoyé par list_products) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_product",
"arguments": {
"establishment_id": 1,
"establishment_product_id": 1
}
}
}'
Modifie un produit du catalogue (prix, unité, stock, description, nom, promotion).
produits.products.edit
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
establishment_product_id |
integer |
requis
|
ID du produit (champ "id" de list_products) |
name |
string |
optionnel
|
Nouveau nom (optionnel) |
price_by_unit |
number |
optionnel
|
Nouveau prix unitaire (optionnel) |
unit |
string |
optionnel
|
Nouvelle unité (optionnel) |
stock_quantity |
number |
optionnel
|
Nouvelle quantité en stock (optionnel) |
description |
string |
optionnel
|
Nouvelle description (optionnel) |
ref |
string |
optionnel
|
Référence (optionnel) |
location |
string |
optionnel
|
Emplacement (optionnel) |
is_promotion |
boolean |
optionnel
|
En promotion (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_product",
"arguments": {
"establishment_id": 1,
"establishment_product_id": 1
}
}
}'
Supprime un produit du catalogue d'un établissement. Action irréversible.
produits.products.delete
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
establishment_product_id |
integer |
requis
|
ID du produit (champ "id" de list_products) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "delete_product",
"arguments": {
"establishment_id": 1,
"establishment_product_id": 1
}
}
}'
Ingrédients
5 outils
Crée un nouvel ingrédient pour un établissement.
ingredients.ingredients.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
name |
string |
requis
|
Nom de l'ingrédient |
unit |
string |
requis
|
Unité (ex: g, kg, ml, L, pièce) |
cooking_coefficient |
number |
optionnel
|
Coefficient de transformation à la cuisson : poids_final = poids_brut × coefficient. 1 = neutre, >1 expansion (riz ≈3, pâtes ≈2.5), <1 perte (viande ≈0.7). Défaut 1. |
price_per_unit |
number |
requis
|
Prix unitaire |
quantity_in_stock |
number |
requis
|
Quantité en stock |
alert_threshold |
number |
optionnel
|
Seuil d'alerte stock |
description |
string |
optionnel
|
Description (optionnel) |
calories |
number |
optionnel
|
Calories pour 100g |
proteins |
number |
optionnel
|
Protéines (g) |
carbs |
number |
optionnel
|
Glucides (g) |
fats |
number |
optionnel
|
Lipides (g) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_ingredient",
"arguments": {
"establishment_id": 1,
"name": "exemple",
"unit": "exemple",
"price_per_unit": 1,
"quantity_in_stock": 1
}
}
}'
Liste les ingrédients d'un établissement. Filtres optionnels : recherche par nom, type.
ingredients.ingredients.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
search |
string |
optionnel
|
Recherche par nom (optionnel) |
type |
string — frais | surgele | sec | autres |
optionnel
|
Filtre par type (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_ingredients",
"arguments": {
"establishment_id": 1
}
}
}'
Retourne le détail d'un ingrédient d'un établissement.
ingredients.ingredients.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
ingredient_id |
integer |
requis
|
ID de l'ingrédient |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_ingredient",
"arguments": {
"establishment_id": 1,
"ingredient_id": 1
}
}
}'
Modifie un ingrédient (nom, unité, prix, stock, seuil, valeurs nutritionnelles).
ingredients.ingredients.edit
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
ingredient_id |
integer |
requis
|
ID de l'ingrédient |
name |
string |
optionnel
|
Nouveau nom (optionnel) |
unit |
string |
optionnel
|
Unité (optionnel) |
cooking_coefficient |
number |
optionnel
|
Coefficient de transformation cuisson : poids_final = poids_brut × coefficient (1=neutre, >1 expansion, <1 perte). Optionnel. |
price_per_unit |
number |
optionnel
|
Prix unitaire (optionnel) |
quantity_in_stock |
number |
optionnel
|
Quantité en stock (optionnel) |
alert_threshold |
number |
optionnel
|
Seuil d'alerte (optionnel) |
description |
string |
optionnel
|
Description (optionnel) |
calories |
number |
optionnel
|
Calories (optionnel) |
proteins |
number |
optionnel
|
Protéines (optionnel) |
carbs |
number |
optionnel
|
Glucides (optionnel) |
fats |
number |
optionnel
|
Lipides (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_ingredient",
"arguments": {
"establishment_id": 1,
"ingredient_id": 1
}
}
}'
Supprime un ingrédient d'un établissement. Action irréversible.
ingredients.ingredients.delete
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
ingredient_id |
integer |
requis
|
ID de l'ingrédient |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "delete_ingredient",
"arguments": {
"establishment_id": 1,
"ingredient_id": 1
}
}
}'
Carte & plats
7 outils
Liste les plats de la carte d'un établissement.
carte.dishes.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
active |
boolean |
optionnel
|
Filtrer par statut actif (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_dishes",
"arguments": {
"establishment_id": 1
}
}
}'
Ajoute un plat à la carte d'un établissement.
carte.dishes.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
name |
string |
requis
|
Nom du plat |
price |
number |
requis
|
Prix |
tva_nature |
string — immediate | conservable | alcohol | exonere |
optionnel
|
Nature TVA : immediate=10% (plat à consommation immédiate), conservable=10% sur place/5,5% emporté (emballé/sous vide), alcohol=20% (boisson alcoolisée). Défaut immediate. |
description |
string |
optionnel
|
Description (optionnel) |
category_id |
integer |
optionnel
|
Catégorie (optionnel) |
prep_time |
integer |
optionnel
|
Temps de préparation en minutes (optionnel) |
portions |
integer |
optionnel
|
Nombre de portions (optionnel) |
active |
boolean |
optionnel
|
Actif (défaut : true) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_dish",
"arguments": {
"establishment_id": 1,
"name": "exemple",
"price": 1
}
}
}'
Crée une catégorie de PLAT (carte / vitrine), éventuellement comme sous-catégorie (2 niveaux max via parent_id ou parent_name). Apparaît dans la carte des plats et la vitrine.
carte.categories.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
name |
string |
requis
|
Nom de la catégorie de plat |
parent_id |
integer |
optionnel
|
ID de la catégorie parente (sous-catégorie). Optionnel. |
parent_name |
string |
optionnel
|
Nom de la catégorie parente (alternative à parent_id). Optionnel. |
description |
string |
optionnel
|
Description (optionnel) |
show_on_storefront |
boolean |
optionnel
|
Visible sur la vitrine (défaut true) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_dish_category",
"arguments": {
"establishment_id": 1,
"name": "exemple"
}
}
}'
Modifie un plat de la carte d'un établissement.
carte.dishes.edit
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
dish_id |
integer |
requis
|
ID du plat |
name |
string |
optionnel
|
Nouveau nom (optionnel) |
price |
number |
optionnel
|
Nouveau prix (optionnel) |
tva_nature |
string — immediate | conservable | alcohol | exonere |
optionnel
|
Nature TVA : immediate=10%, conservable=10/5,5%, alcohol=20% (optionnel). |
description |
string |
optionnel
|
Description (optionnel) |
category_id |
integer |
optionnel
|
Catégorie (optionnel) |
prep_time |
integer |
optionnel
|
Temps de préparation (optionnel) |
portions |
integer |
optionnel
|
Portions (optionnel) |
active |
boolean |
optionnel
|
Actif (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_dish",
"arguments": {
"establishment_id": 1,
"dish_id": 1
}
}
}'
Supprime un plat de la carte d'un établissement. Action irréversible.
carte.dishes.delete
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
dish_id |
integer |
requis
|
ID du plat |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "delete_dish",
"arguments": {
"establishment_id": 1,
"dish_id": 1
}
}
}'
Carte des vins & boissons (par catégorie).
carte.dishes.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_beverages",
"arguments": {
"establishment_id": 1
}
}
}'
Équipe (RH)
9 outils
Liste tous les employés d'un établissement.
rh.employees.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_employees",
"arguments": {
"establishment_id": 1
}
}
}'
Crée un nouvel employé pour un établissement avec son planning optionnel.
rh.employees.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
first_name |
string |
requis
|
Prénom |
last_name |
string |
requis
|
Nom de famille |
email |
string |
requis
|
Email |
phone_number |
string |
requis
|
Numéro de téléphone |
role |
string |
optionnel
|
Rôle : employee, manager, chef, cuisinier, serveur (défaut: employee) |
schedule |
object |
optionnel
|
Planning hebdomadaire (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_employee",
"arguments": {
"establishment_id": 1,
"first_name": "exemple",
"last_name": "exemple",
"email": "exemple",
"phone_number": "exemple"
}
}
}'
Retourne les détails complets d'un employé (profil, rôle, planning, contrat).
rh.employees.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
employee_id |
integer |
requis
|
ID de l'employé |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_employee",
"arguments": {
"establishment_id": 1,
"employee_id": 1
}
}
}'
Modifie les informations d'un employé (prénom, nom, email, téléphone, rôle).
rh.employees.edit
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
employee_id |
integer |
requis
|
ID de l'employé |
first_name |
string |
optionnel
|
Nouveau prénom (optionnel) |
last_name |
string |
optionnel
|
Nouveau nom (optionnel) |
email |
string |
optionnel
|
Nouvel email (optionnel) |
phone_number |
string |
optionnel
|
Nouveau téléphone (optionnel) |
role |
string |
optionnel
|
Nouveau rôle (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_employee",
"arguments": {
"establishment_id": 1,
"employee_id": 1
}
}
}'
Remplace entièrement le planning hebdomadaire d'un employé.
rh.employees.edit
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
employee_id |
integer |
requis
|
ID de l'employé |
schedules |
array<object> |
requis
|
Tableau des créneaux horaires |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_employee_schedule",
"arguments": {
"establishment_id": 1,
"employee_id": 1,
"schedules": [
{
"day": "exemple",
"start_time": "exemple",
"end_time": "exemple"
}
]
}
}
}'
Supprime un employé et son planning. Action irréversible.
rh.employees.delete
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
employee_id |
integer |
requis
|
ID de l'employé |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "delete_employee",
"arguments": {
"establishment_id": 1,
"employee_id": 1
}
}
}'
Liste les contrats des employés d'un établissement. Filtre : employé.
rh.contracts.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
employee_id |
integer |
optionnel
|
Filtrer par employé (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_employee_contracts",
"arguments": {
"establishment_id": 1
}
}
}'
Crée un contrat de travail pour un employé.
rh.contracts.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
employee_id |
integer |
requis
|
ID de l'employé |
type |
string |
optionnel
|
Type : CDI, CDD, Extra, Apprentissage, Stage (défaut : CDI) |
start_date |
string |
optionnel
|
Date de début YYYY-MM-DD (défaut : aujourd'hui) |
end_date |
string |
optionnel
|
Date de fin YYYY-MM-DD (optionnel, pour CDD) |
job_title |
string |
optionnel
|
Intitulé du poste (optionnel) |
base_salary |
number |
optionnel
|
Salaire de base (optionnel) |
weekly_hours |
number |
optionnel
|
Heures hebdomadaires (optionnel) |
days_per_week |
integer |
optionnel
|
Jours par semaine (optionnel) |
manager_name |
string |
optionnel
|
Nom du responsable (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_employee_contract",
"arguments": {
"establishment_id": 1,
"employee_id": 1
}
}
}'
Liste les documents administratifs des employés d'un établissement. Filtre : employé.
rh.documents.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
employee_id |
integer |
optionnel
|
Filtrer par employé (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_employee_documents",
"arguments": {
"establishment_id": 1
}
}
}'
Production
6 outils
Liste les plans de production sur une période donnée.
production.plans.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
start_date |
string |
optionnel
|
Début YYYY-MM-DD (défaut : aujourd'hui) |
end_date |
string |
optionnel
|
Fin YYYY-MM-DD (défaut : +30 jours) |
status |
string |
optionnel
|
Filtre par statut (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_production_plans",
"arguments": {
"establishment_id": 1
}
}
}'
Planifie une production (plat ou recette) pour un établissement.
production.plans.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
item_id |
string |
requis
|
ID du plat (entier) ou de la recette (préfixe "recipe_", ex: "recipe_12") |
planned_quantity |
integer |
requis
|
Quantité planifiée |
planned_date |
string |
requis
|
Date de production YYYY-MM-DD |
planned_time |
string |
optionnel
|
Heure HH:MM (défaut : 09:00) |
notes |
string |
optionnel
|
Notes optionnelles |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_production_plan",
"arguments": {
"establishment_id": 1,
"item_id": "exemple",
"planned_quantity": 1,
"planned_date": "exemple"
}
}
}'
Valide une production réalisée et met à jour le stock automatiquement.
production.validation.validate
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
production_id |
integer |
requis
|
ID du plan de production |
produced_quantity |
integer |
requis
|
Quantité réellement produite |
temperature_log |
number |
optionnel
|
Température enregistrée (optionnel) |
notes |
string |
optionnel
|
Notes optionnelles |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "validate_production",
"arguments": {
"establishment_id": 1,
"production_id": 1,
"produced_quantity": 1
}
}
}'
Retourne les ingrédients nécessaires pour un plan de production (avec statut suffisant/manquant).
production.plans.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
production_id |
integer |
requis
|
ID du plan de production |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_production_ingredients",
"arguments": {
"establishment_id": 1,
"production_id": 1
}
}
}'
Liste les ingrédients manquants pour les productions planifiées dans les prochains jours.
production.missing.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
days |
integer |
optionnel
|
Horizon en jours (défaut : 7) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_production_alerts",
"arguments": {
"establishment_id": 1
}
}
}'
Liste les plats/recettes les plus produits sur une période.
production.plans.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
days |
integer |
optionnel
|
Nombre de jours en arrière (défaut : 30) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_top_productions",
"arguments": {
"establishment_id": 1
}
}
}'
HACCP
17 outils
Liste les fiches de réception HACCP d'un établissement.
haccp.reception.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_haccp_reception",
"arguments": {
"establishment_id": 1
}
}
}'
Enregistre une mesure de température d'équipement (HACCP).
haccp.temperatures.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
equipment_id |
integer |
requis
|
ID de l'équipement |
temperature |
number |
requis
|
Température en degrés Celsius |
measured_at |
string |
optionnel
|
Date/heure ISO 8601 (optionnel, défaut = maintenant) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "add_temperature",
"arguments": {
"establishment_id": 1,
"equipment_id": 1,
"temperature": 1
}
}
}'
Liste les relevés de températures HACCP d'un établissement. Filtres optionnels : période, équipement, type.
haccp.temperatures.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
start_date |
string |
optionnel
|
Début période YYYY-MM-DD (optionnel) |
end_date |
string |
optionnel
|
Fin période YYYY-MM-DD (optionnel) |
equipment_id |
integer |
optionnel
|
Filtre par équipement (optionnel) |
type |
string |
optionnel
|
Type d'équipement (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_haccp_temperatures",
"arguments": {
"establishment_id": 1
}
}
}'
Crée un contrôle de réception HACCP manuel (arrivée fournisseur).
haccp.reception.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
date_controle |
string |
requis
|
Date du contrôle YYYY-MM-DD |
heure_controle |
string |
requis
|
Heure HH:MM |
etat_livraison |
string — conforme | non_conforme |
requis
|
État de la livraison |
fournisseur_id |
integer |
optionnel
|
ID fournisseur (optionnel) |
fournisseur_nom |
string |
optionnel
|
Nom fournisseur libre (optionnel) |
reference_bl |
string |
optionnel
|
Référence BL (optionnel) |
temperature_produits_frais |
number |
optionnel
|
Température produits frais en °C (optionnel) |
commentaires |
string |
optionnel
|
Commentaires (optionnel) |
non_conformites |
array<mixed> |
optionnel
|
Liste des non-conformités si etat=non_conforme |
validate |
boolean |
optionnel
|
Valider immédiatement (défaut : false) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_haccp_reception",
"arguments": {
"establishment_id": 1,
"date_controle": "exemple",
"heure_controle": "exemple",
"etat_livraison": "conforme"
}
}
}'
Liste les étiquettes HACCP (DLC) d'un établissement. Filtre : statut.
haccp.labels.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
status |
string |
optionnel
|
Statut : created, printed, validated, used (optionnel) |
limit |
integer |
optionnel
|
Nombre max (défaut : 100) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_haccp_labels",
"arguments": {
"establishment_id": 1
}
}
}'
Crée une étiquette HACCP (DLC). Le numéro de lot est généré automatiquement si absent.
haccp.labels.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
ingredient_name |
string |
requis
|
Nom du produit/ingrédient |
quantity |
integer |
optionnel
|
Quantité (optionnel) |
unit |
string |
optionnel
|
Unité (optionnel) |
dlc |
string |
optionnel
|
Date limite de consommation YYYY-MM-DD (optionnel) |
type |
string |
optionnel
|
Type : Fait/ouvert, Prêt à manger, Surgelé, Frais, Vente (défaut : Frais) |
storage_location |
string |
optionnel
|
Lieu de stockage (optionnel) |
temperature |
number |
optionnel
|
Température de stockage °C (optionnel) |
lot_number |
string |
optionnel
|
Numéro de lot (optionnel, auto-généré sinon) |
notes |
string |
optionnel
|
Notes (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_haccp_label",
"arguments": {
"establishment_id": 1,
"ingredient_name": "exemple"
}
}
}'
Liste les enregistrements de traçabilité HACCP d'un établissement.
haccp.tracability.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
status |
string |
optionnel
|
Statut : "complété", "non complété" (optionnel) |
limit |
integer |
optionnel
|
Nombre max (défaut : 100) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_haccp_tracabilite",
"arguments": {
"establishment_id": 1
}
}
}'
Crée un enregistrement de traçabilité HACCP.
haccp.tracability.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
type |
string |
optionnel
|
Type : simple, complete (défaut : simple) |
reference_type |
string |
optionnel
|
Type d'élément tracé : ingredient, plat, product, haccp (optionnel) |
reference_id |
integer |
optionnel
|
ID de l'élément tracé (optionnel) |
quantite |
string |
optionnel
|
Quantité (optionnel) |
dlc |
string |
optionnel
|
DLC YYYY-MM-DD (optionnel) |
lot |
string |
optionnel
|
Numéro de lot (optionnel) |
remarques |
string |
optionnel
|
Remarques (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_haccp_tracabilite",
"arguments": {
"establishment_id": 1
}
}
}'
Liste les modèles de checklist hygiène HACCP d'un établissement.
haccp.checklist.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
categorie |
string |
optionnel
|
Filtre par catégorie (optionnel) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_hygiene_checklists",
"arguments": {
"establishment_id": 1
}
}
}'
Enregistre une validation de checklist hygiène pour un modèle donné.
haccp.checklist.validate
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
template_id |
integer |
requis
|
ID du modèle de checklist |
zone_controle |
string |
optionnel
|
Zone contrôlée (optionnel) |
reponses |
object |
optionnel
|
Réponses clé/valeur (ex: {"tenues_propres":"oui"}) |
commentaires |
string |
optionnel
|
Commentaires (optionnel) |
statut |
string |
optionnel
|
Statut (défaut : complete) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_hygiene_checklist_validation",
"arguments": {
"establishment_id": 1,
"template_id": 1
}
}
}'
Liste les zones de nettoyage (avec leurs postes) d'un établissement.
haccp.cleaning_plan.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_cleaning_zones",
"arguments": {
"establishment_id": 1
}
}
}'
Liste les actions de nettoyage réalisées d'un établissement. Filtres : période.
haccp.cleaning_plan.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
date_from |
string |
optionnel
|
Début YYYY-MM-DD (optionnel) |
date_to |
string |
optionnel
|
Fin YYYY-MM-DD (optionnel) |
limit |
integer |
optionnel
|
Nombre max (défaut : 100) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_cleaning_actions",
"arguments": {
"establishment_id": 1
}
}
}'
Enregistre une action de nettoyage réalisée sur un poste.
haccp.cleaning_plan.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
poste_nettoyage_id |
integer |
requis
|
ID du poste de nettoyage |
commentaires |
string |
optionnel
|
Commentaires (optionnel) |
statut |
string |
optionnel
|
Statut (défaut : complete) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "record_cleaning_action",
"arguments": {
"establishment_id": 1,
"poste_nettoyage_id": 1
}
}
}'
Crée un équipement de suivi des températures (frigo, congélateur, chambre froide, cellule, four…).
haccp.temperatures.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
label |
string |
requis
|
Nom de l'équipement (ex. « Frigo pâtisserie ») |
type |
string |
optionnel
|
Type : frigo, congelateur, chambre_froide, cellule, four, autre |
emplacement |
string |
optionnel
|
Emplacement (cuisine, réserve…) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_equipment",
"arguments": {
"establishment_id": 1,
"label": "exemple"
}
}
}'
Crée un modèle de checklist hygiène (point de contrôle + liste de vérifications), utilisable ensuite par create_hygiene_checklist_validation.
haccp.checklist.validate
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
nom_point_controle |
string |
requis
|
Nom du point de contrôle (ex. « Ouverture cuisine ») |
categorie |
string — hygiene_personnel | etat_locaux |
optionnel
|
Catégorie (défaut : etat_locaux) |
description |
string |
optionnel
|
|
points_controle |
array<string> |
requis
|
Liste des vérifications (ex. ["Températures relevées", "Plans de travail désinfectés"]) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_hygiene_checklist",
"arguments": {
"establishment_id": 1,
"nom_point_controle": "exemple",
"points_controle": [
"exemple"
]
}
}
}'
Crée une zone du plan de nettoyage avec ses postes (ex. zone « Cuisine » avec postes « Plans de travail », « Sols »).
haccp.cleaning_plan.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
nom_zone |
string |
requis
|
Nom de la zone (Cuisine, Salle, Réserve…) |
description |
string |
optionnel
|
|
postes |
array<string> |
requis
|
Postes de nettoyage de la zone |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_cleaning_zone",
"arguments": {
"establishment_id": 1,
"nom_zone": "exemple",
"postes": [
"exemple"
]
}
}
}'
Complète une fiche de traçabilité HACCP (statut « complété », quantité/remarques mises à jour).
haccp.tracability.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
tracabilite_id |
integer |
requis
|
|
quantite |
string |
optionnel
|
Quantité constatée (optionnel) |
remarques |
string |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "complete_haccp_tracabilite",
"arguments": {
"establishment_id": 1,
"tracabilite_id": 1
}
}
}'
Commandes, caisse & livraison
23 outils
Liste les commandes (tous canaux : téléphone, agent vocal, sur place, vitrine, manuel). Filtres : statut, canal, date.
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
status |
string |
optionnel
|
en_attente|confirmee|en_preparation|prete|livree|annulee |
channel |
string |
optionnel
|
manuel|telephone|vitrine|agent_vocal|sur_place|facture|devis |
date |
string |
optionnel
|
Filtrer par jour YYYY-MM-DD |
limit |
integer |
optionnel
|
Max résultats (défaut 50) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_orders",
"arguments": {
"establishment_id": 1
}
}
}'
Détail d'une commande (articles, totaux, facture/devis liés, table).
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
order_id |
integer |
requis
|
ID de la commande |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_order",
"arguments": {
"establishment_id": 1,
"order_id": 1
}
}
}'
Crée une commande (génère automatiquement facture + devis). Peut être liée à une table (sur place).
orders.online.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
items |
array<object> |
requis
|
Articles |
channel |
string |
optionnel
|
Canal (défaut manuel) |
service_mode |
string |
optionnel
|
livraison|emporter|sur_place |
table_id |
integer |
optionnel
|
Table (mode sur place) |
covers |
integer |
optionnel
|
Nombre de couverts |
customer_name |
string |
optionnel
|
|
customer_phone |
string |
optionnel
|
|
customer_address |
string |
optionnel
|
|
notes |
string |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_order",
"arguments": {
"establishment_id": 1,
"items": [
{
"name": "exemple",
"quantity": 1,
"unit_price": 1
}
]
}
}
}'
Change le statut d'une commande (répercute sur la facture/devis et la table : payée→nettoyage).
orders.online.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
order_id |
integer |
requis
|
|
status |
string |
requis
|
en_attente|confirmee|en_preparation|prete|livree|annulee |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_order_status",
"arguments": {
"establishment_id": 1,
"order_id": 1,
"status": "exemple"
}
}
}'
Solde et validité d'une carte cadeau par code.
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
code |
string |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "check_gift_card",
"arguments": {
"establishment_id": 1,
"code": "exemple"
}
}
}'
Cartes cadeaux vendues (encaissé, soldes restants).
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
status |
string |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_gift_cards",
"arguments": {
"establishment_id": 1
}
}
}'
Zones de livraison (frais, minimums, codes postaux).
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_delivery_zones",
"arguments": {
"establishment_id": 1
}
}
}'
Crée ou met à jour une zone de livraison.
orders.online.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
zone_id |
integer |
optionnel
|
|
name |
string |
requis
|
|
postal_codes |
array<string> |
optionnel
|
|
fee |
number |
optionnel
|
|
minimum_order |
number |
optionnel
|
|
estimated_minutes |
integer |
optionnel
|
|
active |
boolean |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "upsert_delivery_zone",
"arguments": {
"establishment_id": 1,
"name": "exemple"
}
}
}'
Session de caisse en cours (fond, opérateur) + rapport X (CA, modes, TVA, remises).
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_pos_session",
"arguments": {
"establishment_id": 1
}
}
}'
Ouvre la caisse avec un fond initial. operator_id = employé ayant la permission caisse.
orders.online.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
operator_id |
integer |
requis
|
|
opening_float |
number |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "open_pos_session",
"arguments": {
"establishment_id": 1,
"operator_id": 1,
"opening_float": 1
}
}
}'
Clôture Z de la caisse : comptage espèces optionnel, écart calculé (exige confirm:true après avoir résumé le rapport X à l'opérateur).
orders.online.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
operator_id |
integer |
requis
|
|
counted_cash |
number |
optionnel
|
|
confirm |
boolean |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "close_pos_session",
"arguments": {
"establishment_id": 1,
"operator_id": 1,
"confirm": true
}
}
}'
Rapport X (session en cours) ou Z (session_id d'une session clôturée) : CA, ticket moyen, par mode, par opérateur, TVA, remises.
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
session_id |
integer |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_pos_report",
"arguments": {
"establishment_id": 1
}
}
}'
Encaisse une note (paiement partiel ou total) : espèces avec rendu (tendered), carte, titre_restaurant (jamais de rendu), cheque. La note est soldée quand le reste dû atteint 0.
orders.online.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
order_id |
integer |
requis
|
|
operator_id |
integer |
requis
|
|
method |
string — especes | carte | titre_restaurant | cheque |
requis
|
|
amount |
number |
requis
|
|
tendered |
number |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "record_pos_payment",
"arguments": {
"establishment_id": 1,
"order_id": 1,
"operator_id": 1,
"method": "especes",
"amount": 1
}
}
}'
Paiements d'une note (modes, montants, rendu, reste dû).
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
order_id |
integer |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_pos_payments",
"arguments": {
"establishment_id": 1,
"order_id": 1
}
}
}'
Happy hours configurées (jours, créneau, remise, périmètre).
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_happy_hours",
"arguments": {
"establishment_id": 1
}
}
}'
Crée ou met à jour une happy hour (days ISO 1-7, HH:MM, remise 1-90 %, scope all|category|plat).
orders.online.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
happy_hour_id |
integer |
optionnel
|
|
name |
string |
requis
|
|
days |
array<integer> |
requis
|
|
start_time |
string |
requis
|
|
end_time |
string |
requis
|
|
discount_percent |
integer |
requis
|
|
scope_type |
string — all | category | plat |
optionnel
|
|
scope_ids |
array<integer> |
optionnel
|
|
active |
boolean |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "upsert_happy_hour",
"arguments": {
"establishment_id": 1,
"name": "exemple",
"days": [
1
],
"start_time": "exemple",
"end_time": "exemple",
"discount_percent": 1
}
}
}'
Ardoises clients (soldes dus, statut) — le règlement se fait en caisse.
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_pos_tabs",
"arguments": {
"establishment_id": 1
}
}
}'
Terminaux de paiement (TPE Smile&Pay) : libellé, îlot, actif/défaut, dernière utilisation. Jamais de clé API dans la réponse.
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_payment_terminals",
"arguments": {
"establishment_id": 1
}
}
}'
Encaissements TPE (statut, montant, pourboire, terminal, rapprochement) — filtrables par jour et statut.
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
date |
string |
optionnel
|
YYYY-MM-DD (défaut aujourd'hui) |
status |
string |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_terminal_payments",
"arguments": {
"establishment_id": 1
}
}
}'
Rapprochement Smile&Pay d'un jour : encaissés/échoués/abandonnés, total, pourboires, paiements non rapprochés à vérifier.
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
date |
string |
optionnel
|
YYYY-MM-DD (défaut aujourd'hui) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_smilepay_reconciliation",
"arguments": {
"establishment_id": 1
}
}
}'
Crée un lien de paiement sécurisé Smile&Pay (page hébergée) pour un montant, optionnellement rattaché à une commande ou une réservation, et l'envoie par SMS ou WhatsApp au client si un téléphone est fourni. Retourne l'URL courte à transmettre au client.
orders.online.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
optionnel
|
ID de l'établissement |
amount |
number |
requis
|
Montant TTC en euros (0,50 à 20 000) |
description |
string |
requis
|
Libellé vu par le client (ex. « Commande CMD-2026-00045 ») |
order_id |
integer |
optionnel
|
ID de commande boutique à rattacher (optionnel) |
reservation_id |
integer |
optionnel
|
ID de réservation à rattacher (acompte, optionnel) |
customer_name |
string |
optionnel
|
|
customer_phone |
string |
optionnel
|
Téléphone du client (E.164 ou national FR) |
send_via |
string — sms | whatsapp | none |
optionnel
|
Canal d'envoi (défaut none = juste créer) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_payment_link",
"arguments": {
"amount": 1,
"description": "exemple"
}
}
}'
Statut d'un lien de paiement (en attente / payé / expiré / refusé) par son code court ou sa référence.
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
optionnel
|
ID de l'établissement |
code |
string |
requis
|
Code court (ex. AB7KQ2XZ) ou transRef |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_payment_link_status",
"arguments": {
"code": "exemple"
}
}
}'
État du connecteur HubRise : connexion, location, plats sans sku_ref (bloqués au push), commandes du jour en attente côté plateformes.
orders.online.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_hubrise_status",
"arguments": {
"establishment_id": 1
}
}
}'
Salle & réservations
16 outils
Liste les réservations de table. Filtres : statut, date.
salle.reservations.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
status |
string |
optionnel
|
en_attente|confirmee|installee|terminee|annulee|absent |
date |
string |
optionnel
|
Jour YYYY-MM-DD |
limit |
integer |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_reservations",
"arguments": {
"establishment_id": 1
}
}
}'
Vérifie la disponibilité d'un créneau : restaurant ouvert + tables libres (anti-double-booking).
salle.reservations.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
date |
string |
requis
|
YYYY-MM-DD |
time |
string |
requis
|
HH:MM |
party_size |
integer |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "reservation_availability",
"arguments": {
"establishment_id": 1,
"date": "exemple",
"time": "exemple",
"party_size": 1
}
}
}'
Crée une réservation de table (assigne la meilleure table libre, ou celle choisie / dans la zone demandée).
salle.reservations.create
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
customer_name |
string |
requis
|
|
customer_phone |
string |
optionnel
|
|
customer_email |
string |
optionnel
|
|
party_size |
integer |
requis
|
|
date |
string |
requis
|
YYYY-MM-DD |
time |
string |
requis
|
HH:MM |
zone |
string |
optionnel
|
Zone souhaitée (ex. terrasse) |
table_id |
integer |
optionnel
|
Table précise (optionnel) |
notes |
string |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_reservation",
"arguments": {
"establishment_id": 1,
"customer_name": "exemple",
"party_size": 1,
"date": "exemple",
"time": "exemple"
}
}
}'
Confirme une réservation (assigne une table si besoin → table « réservée »).
salle.reservations.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
reservation_id |
integer |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "confirm_reservation",
"arguments": {
"establishment_id": 1,
"reservation_id": 1
}
}
}'
Check-in : installe le client (table « occupée ») et crée la commande sur place.
salle.reservations.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
reservation_id |
integer |
requis
|
|
table_id |
integer |
optionnel
|
Table si non encore assignée |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "checkin_reservation",
"arguments": {
"establishment_id": 1,
"reservation_id": 1
}
}
}'
Annule une réservation (libère la table).
salle.reservations.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
reservation_id |
integer |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "cancel_reservation",
"arguments": {
"establishment_id": 1,
"reservation_id": 1
}
}
}'
Marque une réservation en no-show (client absent → libère la table).
salle.reservations.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
reservation_id |
integer |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "no_show_reservation",
"arguments": {
"establishment_id": 1,
"reservation_id": 1
}
}
}'
Liste les zones du plan de salle (Salle, Terrasse…).
salle.tables.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_zones",
"arguments": {
"establishment_id": 1
}
}
}'
Crée une zone du plan de salle.
salle.tables.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
name |
string |
requis
|
|
color |
string |
optionnel
|
Couleur hex #RRGGBB |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_zone",
"arguments": {
"establishment_id": 1,
"name": "exemple"
}
}
}'
Liste les tables avec leur statut temps réel. Filtre : statut.
salle.tables.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
status |
string |
optionnel
|
free|reserved|occupied|cleaning|blocked |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_tables",
"arguments": {
"establishment_id": 1
}
}
}'
Crée une table dans le plan de salle.
salle.tables.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
name |
string |
requis
|
|
capacity |
integer |
optionnel
|
|
shape |
string |
optionnel
|
round|square|rectangle |
zone_id |
integer |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_table",
"arguments": {
"establishment_id": 1,
"name": "exemple"
}
}
}'
Change le statut d'une table (free|reserved|occupied|cleaning|blocked).
salle.tables.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
table_id |
integer |
requis
|
|
status |
string |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_table_status",
"arguments": {
"establishment_id": 1,
"table_id": 1,
"status": "exemple"
}
}
}'
Vue d'ensemble temps réel du plan de salle : compteurs par statut + chaque table avec sa commande active.
salle.tables.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "floor_plan_status",
"arguments": {
"establishment_id": 1
}
}
}'
Liste la file d'attente active (walk-ins en attente / prévenus).
salle.reservations.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_waitlist",
"arguments": {
"establishment_id": 1
}
}
}'
Ajoute un client à la file d'attente.
salle.reservations.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
customer_name |
string |
optionnel
|
|
customer_phone |
string |
optionnel
|
|
party_size |
integer |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "add_waitlist",
"arguments": {
"establishment_id": 1,
"party_size": 1
}
}
}'
Installe un client de la file d'attente sur une table (crée la commande sur place).
salle.reservations.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
waitlist_id |
integer |
requis
|
|
table_id |
integer |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "seat_waitlist",
"arguments": {
"establishment_id": 1,
"waitlist_id": 1,
"table_id": 1
}
}
}'
Site web
13 outils
Liste les templates métiers du site (galerie du Studio).
website.pages.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_site_templates",
"arguments": {
"establishment_id": 1
}
}
}'
Applique un template métier au site (remplace pages et thème — exige confirm:true après avoir résumé le changement au restaurateur).
website.pages.edit
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
slug |
string |
requis
|
|
confirm |
boolean |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "apply_site_template",
"arguments": {
"establishment_id": 1,
"slug": "exemple",
"confirm": true
}
}
}'
Modifie partiellement les design tokens du site (couleurs, polices).
website.pages.edit
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
tokens |
object |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "set_site_theme",
"arguments": {
"establishment_id": 1,
"tokens": {}
}
}
}'
Liste les pages du site (statut, navigation) + catalogue de pages activables.
website.pages.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_site_pages",
"arguments": {
"establishment_id": 1
}
}
}'
Active une page du catalogue (about, faq, allergens, gallery, jobs, beverages, private, producers, delivery, press, giftcards) — créée en brouillon.
website.pages.edit
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
type |
string |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "add_site_page",
"arguments": {
"establishment_id": 1,
"type": "exemple"
}
}
}'
Publie ou dépublie une page du site.
website.pages.publish
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
page_slug |
string |
requis
|
|
publish |
boolean |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "toggle_site_page",
"arguments": {
"establishment_id": 1,
"page_slug": "exemple",
"publish": true
}
}
}'
Contenu d'une page (sections + props) pour la relire ou la modifier.
website.pages.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
page_slug |
string |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_page_content",
"arguments": {
"establishment_id": 1,
"page_slug": "exemple"
}
}
}'
Met à jour les props d'une section (fusion partielle, ex. {title, text}).
website.pages.edit
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
section_id |
integer |
requis
|
|
props |
object |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_section",
"arguments": {
"establishment_id": 1,
"section_id": 1,
"props": {}
}
}
}'
Publie toutes les pages en brouillon du site (exige confirm:true).
website.pages.publish
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
confirm |
boolean |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "publish_site",
"arguments": {
"establishment_id": 1,
"confirm": true
}
}
}'
État du site : pages publiées/brouillon, URL publique, domaine.
website.pages.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_site_status",
"arguments": {
"establishment_id": 1
}
}
}'
Statut du domaine personnalisé (DNS/SSL).
website.domain.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_domain_status",
"arguments": {
"establishment_id": 1
}
}
}'
Ajoute ou met à jour une boisson (les mentions légales sont portées par la page, jamais par la donnée).
website.pages.edit
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
beverage_id |
integer |
optionnel
|
|
category |
string — blanc | rouge | rose | bulles | biere | soft | cafe | sake |
requis
|
|
name |
string |
requis
|
|
appellation |
string |
optionnel
|
|
is_aop_igp |
boolean |
optionnel
|
|
vintage |
integer |
optionnel
|
|
glass_price |
number |
optionnel
|
|
bottle_price |
number |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "upsert_beverage_item",
"arguments": {
"establishment_id": 1,
"category": "blanc",
"name": "exemple"
}
}
}'
Retire une boisson de la carte.
website.pages.edit
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
beverage_id |
integer |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "remove_beverage_item",
"arguments": {
"establishment_id": 1,
"beverage_id": 1
}
}
}'
Marketing, avis & recrutement
21 outils
Avis clients (site + Google) filtrables par statut/note.
leads.leads.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
status |
string |
optionnel
|
|
rating |
integer |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_reviews",
"arguments": {
"establishment_id": 1
}
}
}'
Répond à un avis (la réponse est enregistrée, publication Google manuelle).
leads.leads.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
review_id |
integer |
requis
|
|
body |
string |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "reply_review",
"arguments": {
"establishment_id": 1,
"review_id": 1,
"body": "exemple"
}
}
}'
Publie ou rejette un avis déposé sur le site.
leads.leads.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
review_id |
integer |
requis
|
|
action |
string — publish | reject |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "moderate_review",
"arguments": {
"establishment_id": 1,
"review_id": 1,
"action": "publish"
}
}
}'
Crée une offre d'emploi (salaire affiché recommandé) — en brouillon par défaut.
leads.leads.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
title |
string |
requis
|
|
contract |
string — CDI | CDD | apprentissage | extra | saisonnier |
requis
|
|
description |
string |
requis
|
|
salary_min |
number |
optionnel
|
|
salary_max |
number |
optionnel
|
|
status |
string — draft | published |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_job_offer",
"arguments": {
"establishment_id": 1,
"title": "exemple",
"contract": "CDI",
"description": "exemple"
}
}
}'
Met à jour ou ferme une offre (status: draft|published|closed).
leads.leads.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
offer_id |
integer |
requis
|
|
title |
string |
optionnel
|
|
description |
string |
optionnel
|
|
status |
string — draft | published | closed |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_job_offer",
"arguments": {
"establishment_id": 1,
"offer_id": 1
}
}
}'
Candidatures reçues (JAMAIS de CV via MCP — coordonnées + statut).
leads.leads.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
status |
string — new | contacted | rejected | hired |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_job_applications",
"arguments": {
"establishment_id": 1
}
}
}'
Change le statut d'une candidature.
leads.leads.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
application_id |
integer |
requis
|
|
status |
string — new | contacted | rejected | hired |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_application_status",
"arguments": {
"establishment_id": 1,
"application_id": 1,
"status": "new"
}
}
}'
Leads capturés par le site (contact, roue, privatisation…).
leads.leads.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
source |
string |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_site_leads",
"arguments": {
"establishment_id": 1
}
}
}'
Demandes de privatisation/groupes avec statut.
leads.leads.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
status |
string — new | quoted | won | lost |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_private_event_requests",
"arguments": {
"establishment_id": 1
}
}
}'
Avance une demande de privatisation (new|quoted|won|lost).
leads.leads.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
request_id |
integer |
requis
|
|
status |
string — new | quoted | won | lost |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_event_request_status",
"arguments": {
"establishment_id": 1,
"request_id": 1,
"status": "new"
}
}
}'
Campagnes marketing (statut, canal, segment, stats d'envoi).
leads.leads.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
status |
string — draft | scheduled | sending | sent | cancelled |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_campaigns",
"arguments": {
"establishment_id": 1
}
}
}'
Segments RFM de la base clients (compteurs + pourquoi) — cible des campagnes.
leads.leads.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_rfm_segments",
"arguments": {
"establishment_id": 1
}
}
}'
Crée une campagne en BROUILLON (email|sms|whatsapp|vocal ; segment RFM ; {prenom} {code} {lien} dans le message). Ne l'envoie PAS : utiliser launch_campaign.
leads.leads.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
name |
string |
requis
|
|
channel |
string — email | sms | whatsapp | vocal |
requis
|
|
segment |
string — tous | champions | fideles | prometteurs | a_risque | perdus | nouveaux |
requis
|
|
message_template |
string |
requis
|
|
offer_label |
string |
optionnel
|
|
promo_code |
string |
optionnel
|
|
link_url |
string |
optionnel
|
|
scheduled_at |
string |
optionnel
|
Y-m-d H:i pour planifier (sinon brouillon) |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_campaign",
"arguments": {
"establishment_id": 1,
"name": "exemple",
"channel": "email",
"segment": "tous",
"message_template": "exemple"
}
}
}'
Lance une campagne (envoi RÉEL multicanal — exige confirm:true après avoir résumé la cible et le récap conformité au restaurateur).
leads.leads.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
campaign_id |
integer |
requis
|
|
confirm |
boolean |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "launch_campaign",
"arguments": {
"establishment_id": 1,
"campaign_id": 1,
"confirm": true
}
}
}'
ROI d'une campagne : envoyés, clics, retours en commande, CA attribué 7 j, exclusions de conformité.
leads.leads.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
campaign_id |
integer |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_campaign_stats",
"arguments": {
"establishment_id": 1,
"campaign_id": 1
}
}
}'
Agent IA marketing : 2-4 propositions de campagnes chiffrées depuis les données réelles (RFM, jours creux, marges, marronniers).
leads.leads.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "propose_campaigns",
"arguments": {
"establishment_id": 1
}
}
}'
Templates WhatsApp (statut Meta : draft/pending/approved/rejected). Un template approuvé est requis pour écrire à un client hors de la fenêtre 24 h.
leads.leads.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
status |
string — draft | pending | approved | rejected |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_whatsapp_templates",
"arguments": {
"establishment_id": 1
}
}
}'
Crée un template WhatsApp (brouillon). Corps avec variables {{1}} {{2}}… numérotées sans trou ; variables = libellés ordonnés (prenom, offre…). Ne le soumet PAS : utiliser submit_whatsapp_template.
leads.leads.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
name |
string |
requis
|
minuscules + underscores |
body |
string |
requis
|
|
variables |
array<string> |
optionnel
|
|
category |
string — MARKETING | UTILITY |
optionnel
|
|
language |
string |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_whatsapp_template",
"arguments": {
"establishment_id": 1,
"name": "exemple",
"body": "exemple"
}
}
}'
Soumet un template à l'approbation Meta (24-48 h — exige confirm:true, le template devient non modifiable).
leads.leads.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
template_id |
integer |
requis
|
|
confirm |
boolean |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "submit_whatsapp_template",
"arguments": {
"establishment_id": 1,
"template_id": 1,
"confirm": true
}
}
}'
Agenda marketing d'un mois : marronniers, événements locaux saisis, jour creux détecté, campagnes planifiées/envoyées.
leads.leads.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
year |
integer |
requis
|
|
month |
integer |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_marketing_calendar",
"arguments": {
"establishment_id": 1,
"year": 1,
"month": 1
}
}
}'
Ajoute un événement local à l'agenda marketing (match, marché, fête de quartier…) pour préparer une campagne dessus.
leads.leads.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
date |
string |
requis
|
YYYY-MM-DD |
label |
string |
requis
|
|
brief |
string |
optionnel
|
Idée de campagne associée. Optionnel. |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "add_marketing_event",
"arguments": {
"establishment_id": 1,
"date": "exemple",
"label": "exemple"
}
}
}'
Fidélité, jeux & sondages
12 outils
Configuration du programme de fidélité (modes, multiplicateurs, règles).
loyalty.program.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_loyalty_program",
"arguments": {
"establishment_id": 1
}
}
}'
Met à jour le programme (active, earn_mode, earn_rate, validité…).
loyalty.program.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
active |
boolean |
optionnel
|
|
earn_mode |
string — per_euro | per_visit | hybrid |
optionnel
|
|
earn_rate |
number |
optionnel
|
|
visit_points |
integer |
optionnel
|
|
points_validity_months |
integer |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_loyalty_program",
"arguments": {
"establishment_id": 1
}
}
}'
Catalogue des récompenses échangeables (points, stock).
loyalty.program.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_loyalty_rewards",
"arguments": {
"establishment_id": 1
}
}
}'
Ajoute ou met à jour une récompense (product = plat réel à 0 €).
loyalty.program.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
reward_id |
integer |
optionnel
|
|
kind |
string — product | amount | perk |
requis
|
|
plat_id |
integer |
optionnel
|
|
label |
string |
requis
|
|
points_cost |
integer |
requis
|
|
amount |
number |
optionnel
|
|
stock |
integer |
optionnel
|
|
active |
boolean |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "upsert_loyalty_reward",
"arguments": {
"establishment_id": 1,
"kind": "product",
"label": "exemple",
"points_cost": 1
}
}
}'
Compte fidélité d'un client par email (solde, prochaine récompense).
loyalty.program.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
email |
string |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_loyalty_account",
"arguments": {
"establishment_id": 1,
"email": "exemple"
}
}
}'
Geste commercial : crédite des points à un client (plafonné ±1000, jamais de solde négatif, motif obligatoire, journalisé).
loyalty.program.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
email |
string |
requis
|
|
points |
integer |
requis
|
|
motif |
string |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "adjust_points",
"arguments": {
"establishment_id": 1,
"email": "exemple",
"points": 1,
"motif": "exemple"
}
}
}'
Bons fidélité émis (actifs/utilisés/expirés).
loyalty.program.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
status |
string |
optionnel
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_redemptions",
"arguments": {
"establishment_id": 1
}
}
}'
Valide un bon fidélité présenté en salle (usage unique).
loyalty.program.manage
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
code |
string |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "validate_redemption",
"arguments": {
"establishment_id": 1,
"code": "exemple"
}
}
}'
Roues cadeaux (statut, lancers, leads).
loyalty.program.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_wheel_games",
"arguments": {
"establishment_id": 1
}
}
}'
Statistiques d'une roue (lancers, lots gagnés, leads captés).
loyalty.program.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
wheel_id |
integer |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_wheel_stats",
"arguments": {
"establishment_id": 1,
"wheel_id": 1
}
}
}'
Sondages (déclencheur, réponses).
loyalty.program.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_surveys",
"arguments": {
"establishment_id": 1
}
}
}'
Résultats agrégés d'un sondage (moyennes, NPS, répartitions).
loyalty.program.view
| Paramètre | Type | | Description |
establishment_id |
integer |
requis
|
ID de l'établissement |
survey_id |
integer |
requis
|
|
Exemple cURL
curl -X POST https://foodeatup.com/api/mcp \
-H "Authorization: Bearer VOTRE_JETON" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_survey_results",
"arguments": {
"establishment_id": 1,
"survey_id": 1
}
}
}'