Restaurant - Meal Menu
Consolidated ingredients for a date range
POST
/restaurant/meal-menus/calculate-ingredients
const url = 'https://api.inspow.tech/api/v1/restaurant/meal-menus/calculate-ingredients';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"from":"2026-01-13","to":"2026-01-17","meal_type":"BREAKFAST"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.inspow.tech/api/v1/restaurant/meal-menus/calculate-ingredients \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "from": "2026-01-13", "to": "2026-01-17", "meal_type": "BREAKFAST" }'Authorizations
Sección titulada «Authorizations »Request Body required
Sección titulada «Request Body required » Media type application/json
object
from
required
Fecha de inicio para el cálculo
string format: date
Example
2026-01-13 to
required
Fecha de fin para el cálculo
string format: date
Example
2026-01-17 meal_type
Tipo de comida (opcional, si no se especifica calcula para todos)
string
Example
LUNCH