techrar docs
Home
Solutions
Solutions
  • eCommerce SaaS
  • Meals SaaS
  • Meals Marketplaces
API
API
  • Merchant APIs
  • Customer App APIs
  • Meals APIs
Techrar Connect
Home
Solutions
Solutions
  • eCommerce SaaS
  • Meals SaaS
  • Meals Marketplaces
API
API
  • Merchant APIs
  • Customer App APIs
  • Meals APIs
Techrar Connect
  1. Offerings & Listings
  • GETTING STARTED
    • Account Setup
    • Authentication
    • Webhooks
    • Meals SaaS Overview
  • Offerings & Listings
    • Plans & Versions
    • Plan Categories
    • Display Menus
  • Customer Profiles
    • Customer Profile
    • Authenticating Customers
    • Customer Location
  • Placing Orders
    • Place Subscription Order
    • Order Payment
    • Generate Invoices
  • Subscriptions
    • Subscription Lifecycle
    • Subscription Management
  • Complaints
    • Complaint Lifecycle
    • Complaint Management
  • Delivery
    • Delivery Window
  1. Offerings & Listings

Display Menus

Show daily meal options from provider menus.

Overview#

All providers create menus with daily meal schedules. When you fetch plan details, the masters field contains the menu data. Displaying this menu in your app is optional - you can choose to show it as a preview or skip it and let customers discover meals during checkout.
Menus are optional for you to display in your marketplace.

Menu Structure#

Days#

Each menu has a days array containing meals for each day:
day: Day name (e.g., "Sunday")
repetition_counter: Week number if menu repeats
categories: Meal categories for this day

Categories#

Each day has meal categories (e.g., Breakfast, Lunch, Dinner):
name_en / name_ar: Category name
support_add_ons: Whether customers can add extra items
hide_from_app: Whether to show this category
options: Available meals in this category

Options (Meals)#

Each category has meal options:
product: Meal details (name, image, price, nutrition)
is_recommended: Whether this is a recommended choice
is_active: Whether meal is currently available

Implementation#

Display Format#

Weekly View:
Sunday
├─ Breakfast: Omelette, Pancakes, Granola
├─ Lunch: Grilled Chicken, Salmon, Pasta
└─ Dinner: Steak, Fish, Vegetarian Bowl

Monday
├─ Breakfast: ...
├─ Lunch: ...
└─ Dinner: ...
Daily View:
Show meals for one day at a time with full details, images, and nutrition info.

Best Practices#

Show menu preview during plan selection
Highlight recommended meals
Display nutrition information clearly
Show meal images when available
Indicate if meals repeat weekly (repetition_counter)
Filter out categories with hide_from_app: true

Example Response#

{
  "id": 123,
  "name_en": "Weekly Menu",
  "off_days": ["Fri"],
  "repetition": 1,
  "days": [
    {
      "day": "Sunday",
      "repetition_counter": 1,
      "categories": [
        {
          "id": 1,
          "name_en": "Breakfast",
          "name_ar": "إفطار",
          "support_add_ons": false,
          "hide_from_app": false,
          "options": [
            {
              "id": 101,
              "is_recommended": true,
              "is_active": true,
              "product": {
                "id": 501,
                "name_en": "Protein Omelette",
                "name_ar": "أومليت بروتين",
                "image": "https://cdn.techrar.com/meals/omelette.png",
                "original_price": 25,
                "nutritions": {
                  "calories": 350,
                  "protein": 30,
                  "carbs": 15,
                  "fat": 18
                }
              }
            }
          ]
        }
      ]
    }
  ]
}
Modified at 2025-12-01 09:32:15
Previous
Plan Categories
Next
Customer Profile
Built with