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

Subscription Details

GET
https://api.techrar.com/order/v1/subscriptions/{subscription_id}/
This endpoint allows you to get subscription details of a customer by passing the subscription_id as a path parameter.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path 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//' \
--header 'app-id: 4' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "id": 102193,
    "custom_fields": null,
    "invoices": [
        {
            "id": 123,
            "serial": "-",
            "amount": 5,
            "status": "unpaid",
            "payment_url": "http://localhost:8000/order/v1/checkout/123/?entity=invoice",
            "created_at": "2025-04-24 07:57:42.402783+00:00",
            "due_date": "2025-04-24 07:57:42.401808+00:00",
            "payment_method": null,
            "payment_provider": null
        },
        {
            "id": 122,
            "serial": "INV-202500017",
            "amount": 5,
            "status": "paid",
            "payment_url": null,
            "created_at": "2025-04-24 07:56:41.730828+00:00",
            "due_date": "2025-04-24 07:56:41.730196+00:00",
            "payment_method": "visa_master",
            "payment_provider": "myfatoorah"
        }
    ],
    "next_invoice": {
        "id": 123,
        "serial": "-",
        "amount": 5,
        "status": "unpaid",
        "payment_url": "http://localhost:8000/order/v1/checkout/123/?entity=invoice",
        "created_at": "2025-04-24 07:57:42.402783+00:00",
        "due_date": "2025-04-24 07:57:42.401808+00:00",
        "payment_method": null,
        "payment_provider": null
    },
    "name_en": "Sa",
    "name_ar": "لافة",
    "item_id": 107,
    "app_id": 86,
    "created_at": "2025-04-24T10:57:06.918778+03:00",
    "customer_id": 1,
    "duration": 1,
    "duration_unit": "day",
    "start_date": "2025-04-24",
    "end_date": "2025-04-24",
    "status": "suspended",
    "in_trial": false,
    "trial_start_date": null,
    "trial_end_date": null,
    "paused_at": null,
    "total_billing_cycles": 1,
    "remaining_billing_cycles": 1,
    "auto_renew": true,
    "current_period_start_date": "2025-04-24",
    "current_period_end_date": "2025-04-24",
    "last_billing_date": "2025-04-24",
    "next_billing_date": "2025-04-24",
    "usage_counter": 0,
    "usage_limit": null,
    "usage_unit": "credit",
    "auto_increment_usage": false,
    "order": 231
}
Modified at 2026-06-01 12:38:56
Previous
List Subscriptions
Next
Cancel Subscription Auto Renewal
Built with