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. Placing Orders
  • 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. Placing Orders

Generate Invoices

To generate invoices from a 3rd party. Use the steps here.

Get merchant orders#

https://api.techrar.com/public-api/v1/orders/
This endpoint returns all merchant orders details to generate invoices.
Headers
NameValue
Content-Typeapplication/json
AuthorizationBearer <token>
App-Id<YOUR_APP_ID>
Contact our support team at [email protected] to provide you with your App ID to be used in the headers.

Parameters (Optional)#

NameValue
from_datestring (e.g "2024-01-01")
to_datestring (e.g "2024-01-01")
Example Response
Response Fields
[
   {
      "id":8509,
      "created_at":"2024-11-15 15:49:19.356257+00:00",
      "type":"subscription",
      "delivery_fee":50.0,
      "delivery_fee_voucher_discounts":0.0,
      "cart_amount":45.0,
      "cart_amount_voucher_discounts":0.0,
      "wallet_discounts":0.0,
      "total_discounts":0.0,
      "total_amount":95.0,
      "voucher_code":null,
      "is_pickup":false,
      "customer_profile":{
         "id":1,
         "mobile_number":"0534501056",
         "email":"[email protected]",
         "name":"Safwan Saigh"
      },
      "subscription":{
         "id":20472,
         "name_en":"Lunch Meakl",
         "name_ar":"وجبة غداء",
         "num_of_days":5,
         "paused_days":0,
         "status":"confirmed",
         "start_date":"2024-11-19",
         "end_date":"2024-11-25"
      },
      "branch":{
         "id":1,
         "city_name_en":"Jeddah",
         "city_name_ar":"جده",
         "branch_name_en":"Jeddah",
         "branch_name_ar":"جدة"
      },
      "location":{
         "id":2,
         "address":"ابن عديس، 6438 ibn Udays st. - al-salamh-dist jeddah 3083-23436 Villa 16، جدة 23436،، As Salamah, Jeddah 23436, Saudi Arabia"
      }
   }
]
Full endpoint documentation is Here
Modified at 2025-12-16 13:36:26
Previous
Order Payment
Next
Subscription Lifecycle
Built with