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. Subscriptions
  • Customer Account
    • Registration
      • Register Customer
      • Confirm Customer Registration
    • User Authentication
      • Request OTP
      • Get Access Token
      • Refresh Access Token
    • Customer Profile
      • Profile Details
      • Wallet Details
      • Referral Details
      • Update Platform Version
      • Activate/Create FCM Token
      • FCM Token
      • Delete Customer Account
      • Update Language
      • Update Avatar
      • Update Profile
    • Customer Locations
      • List Locations
      • Location Details
      • Create Location
      • Update Location
      • Update Location Image
      • Delete Location
    • List Received Notifications
  • Items
    • List Items
    • Item Details
    • List Item Categories
    • Item Category Details
    • List Modifier Categories
    • Item Config Details
    • List Bundle Categories
  • Orders
    • List Orders
    • Order Details
    • List Recurring Purchases
    • Recurring Purchase Details
    • Recurring Purchase Details
  • Subscriptions
    • List Subscriptions
      GET
    • Subscription Details
      GET
    • Cancel Subscription Auto Renewal
      POST
  • Fulfillments
    • List Fulfillments
    • Fulfillment Details
    • Update Fulfillment Details
  • Payment Methods
    • List Payment Methods
    • Delete Payment Method
    • List Enabled Payment Providers
  • Checkout
    • Checkout Config Details
    • Create Cart
    • Update Cart
    • Cart Details
    • List Pickup Locations
    • List Featured Vouchers
    • Get Courier Options
    • Checkout
  • Sales Channels
    • Orders
      • List Channel Subscriptions
      • Channel Subscription Details
      • List Channel Orders
      • Channel Order Details
      • Cancel Channel Subscription
    • Meals Checkout
      • Apply Voucher
      • Redeem
      • Get Discount
      • Place Order
    • List Channel Providers
  • Utilities
    • List Supported Cities
    • Supported City Details
  1. Subscriptions

List Subscriptions

GET
https://api.techrar.com/order/v1/subscriptions/
This endpoint allows you to list all customer subscriptions
Filters
You can filter subscriptions with almost all the fields in the subscriptions e.g. start_date_from, start_date_to, status, ..etc
Light Objects
In most list endpoints, the returned object will be light.
Use the details endpoint to get a detailed object

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Header Params

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.techrar.com/order/v1/subscriptions/?page=1&page_size=5&search=&order_by=' \
--header 'app-id: 4' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "count": 22,
    "next": "http://localhost/order/v1/subscriptions/?page=2&page_size=2",
    "previous": null,
    "results": [
        {
            "id": 102212,
            "custom_fields": null,
            "invoices": [
                {
                    "id": 192,
                    "serial": "-",
                    "amount": 100,
                    "status": "unpaid",
                    "payment_url": "http://localhost:8000/order/v1/checkout/192/?entity=invoice",
                    "created_at": "2025-05-13 01:54:39.076673+00:00",
                    "due_date": "2025-05-13 01:54:39.076389+00:00",
                    "payment_method": null,
                    "payment_provider": null
                },
                {
                    "id": 186,
                    "serial": "INV-202500064",
                    "amount": 0,
                    "status": "paid",
                    "payment_url": null,
                    "created_at": "2025-05-12 06:55:01.018092+00:00",
                    "due_date": "2025-05-12 06:55:01.017499+00:00",
                    "payment_method": "free",
                    "payment_provider": "techrar"
                }
            ],
            "next_invoice": {
                "id": 192,
                "serial": "-",
                "amount": 100,
                "status": "unpaid",
                "payment_url": "http://localhost:8000/order/v1/checkout/192/?entity=invoice",
                "created_at": "2025-05-13 01:54:39.076673+00:00",
                "due_date": "2025-05-13 01:54:39.076389+00:00",
                "payment_method": null,
                "payment_provider": null
            },
            "name_en": "Trial",
            "name_ar": "Trial",
            "item_id": 109,
            "app_id": 86,
            "created_at": "2025-05-12T09:55:01.343826+03:00",
            "customer_id": 1,
            "duration": 1,
            "duration_unit": "day",
            "start_date": "2025-05-12",
            "end_date": "2025-05-12",
            "status": "suspended",
            "in_trial": false,
            "trial_start_date": "2025-05-12",
            "trial_end_date": "2025-05-13",
            "paused_at": null,
            "total_billing_cycles": 0,
            "remaining_billing_cycles": 0,
            "auto_renew": true,
            "current_period_start_date": "2025-05-12",
            "current_period_end_date": "2025-05-12",
            "last_billing_date": "2025-05-12",
            "next_billing_date": "2025-05-13",
            "usage_counter": 0,
            "usage_limit": null,
            "usage_unit": "credit",
            "auto_increment_usage": false,
            "order": 257
        },
        {
            "id": 102211,
            "custom_fields": null,
            "invoices": [
                {
                    "id": 185,
                    "serial": "INV-202500063",
                    "amount": 0,
                    "status": "paid",
                    "payment_url": null,
                    "created_at": "2025-05-12 06:54:00.076216+00:00",
                    "due_date": "2025-05-12 06:54:00.075512+00:00",
                    "payment_method": "free",
                    "payment_provider": "techrar"
                },
                {
                    "id": 201,
                    "serial": "-",
                    "amount": 100,
                    "status": "unpaid",
                    "payment_url": "http://localhost:8000/order/v1/checkout/201/?entity=invoice",
                    "created_at": "2025-05-13 16:02:16.321041+00:00",
                    "due_date": "2025-05-13 16:02:16.285731+00:00",
                    "payment_method": null,
                    "payment_provider": null
                }
            ],
            "next_invoice": {
                "id": 201,
                "serial": "-",
                "amount": 100,
                "status": "unpaid",
                "payment_url": "http://localhost:8000/order/v1/checkout/201/?entity=invoice",
                "created_at": "2025-05-13 16:02:16.321041+00:00",
                "due_date": "2025-05-13 16:02:16.285731+00:00",
                "payment_method": null,
                "payment_provider": null
            },
            "name_en": "Trial",
            "name_ar": "Trial",
            "item_id": 109,
            "app_id": 86,
            "created_at": "2025-05-12T09:54:00.406305+03:00",
            "customer_id": 1,
            "duration": 1,
            "duration_unit": "day",
            "start_date": "2025-05-12",
            "end_date": "2025-05-12",
            "status": "suspended",
            "in_trial": false,
            "trial_start_date": "2025-05-12",
            "trial_end_date": "2025-05-13",
            "paused_at": null,
            "total_billing_cycles": 0,
            "remaining_billing_cycles": 0,
            "auto_renew": true,
            "current_period_start_date": "2025-05-12",
            "current_period_end_date": "2025-05-12",
            "last_billing_date": "2025-05-12",
            "next_billing_date": "2025-05-13",
            "usage_counter": 0,
            "usage_limit": null,
            "usage_unit": "credit",
            "auto_increment_usage": false,
            "order": 256
        }
    ]
}
Modified at 2025-06-17 10:53:28
Previous
Subscriptions
Next
Subscription Details
Built with