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
  • SaaS Meal Subscription
  • Merchant APIs
    • List Merchant Orders
  • Customer APIs
    • Subscriptions
      • Subscriptions
        • List Subscriptions
          GET
        • Subscription Details
          GET
        • Change Subscription Location
          PATCH
        • Postpone/Pause/Resume SubOrders
          POST
        • Renew Subscription
          POST
        • List Subscription Orders
          GET
      • SubOrders
        • Customer SubOrders
        • Change SubOrder Location
        • Bulk Change Suborder Location
        • Change Meals
        • Change Delivery Window
        • Bulk Change Delivery Window
        • Bulk Change PickUp Branch
        • Frozen/Postponed SubOrders
        • Pre-Order
      • Complaints
        • Complain SubOrder
        • List Complaint Reasons
        • Complaint Details
      • invoices
        • List SubOrder Invoices
    • Plans
      • V3
        • Plan Tag
        • List Super Plans
        • Super Plan Details
        • Plan Date Details
        • List Feature Plan Tags
        • List Featured Plans
        • Plan Menu Categories
        • Has Purchased Plan
    • Order
      • Place Order
        • Place Order
        • List orders
        • Order Details
        • Vouchered Cart
        • Discounted Cart
        • Redeemed Cart
        • Add-On Order
        • Redeemed Add-Ons Cart
    • Menus
      • List Menus
      • Menu Details
      • Menu Add-Ons Details
      • Menu Options
    • Restaurant
      • List Restaurant
      • Restaurant Details
      • List Restaurant Branch
      • On-Demand Restaurants
      • Restaurant Menu
      • List Restaurant Categories
      • Product Details
      • Combo Details
      • Wallet Credit Products
      • Allergen Dislikes List
      • Product Variants List
      • Restaurant Variants List
    • Vouchers
      • Featured Vouchers List
    • configs
      • App Config Details
      • Light App Config
      • List Mobile Connectors
    • Prime
      • Corporate Location Details
  1. Subscriptions

Renew Subscription

POST
https://api.techrar.com/api/v3/subscriptions/{subscription_id}/renew/
This endpoint allows the customer to renew their previous subscription using the provided subscription ID.

Request

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

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.techrar.com/api/v3/subscriptions/8585/renew/' \
--header 'app-id: 4' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "start_date": "2025-12-13",
    "include_addons": false
}'
Response Response Example
{
    "subscription": {
        "plan": {
            "id": 432,
            "created_at": "2025-02-03T07:16:44.718028Z",
            "modified_at": "2025-04-22T10:15:56.902316Z",
            "name_en": "4 menu plan",
            "name_ar": "باقه 4 اسابيع",
            "image": "/media/uploads/plans/images/2025/02/03/b4b17b42-78e9-4e2e-b541-8b7709b7c06d.png",
            "subtitle_ar": null,
            "subtitle_en": null,
            "description_ar": null,
            "description_en": null,
            "is_active": true,
            "is_valid": false,
            "is_menued": true,
            "subscription_type": "scheduled",
            "supported_service": null,
            "start_after": 3,
            "daily_num_of_items": 1,
            "avg_daily_meal_calories": 0.0,
            "max_end_date": "2026-03-17"
        },
        "plan_version": {
            "id": 977,
            "num_of_days": 7,
            "total_num_of_items": 7,
            "daily_delivery_price": 0.0,
            "delivery_price": 0.0,
            "original_price": 84.0,
            "discount_percentage": 0.0,
            "is_active": true,
            "duration": null
        },
        "dates": [
            {
                "date": "2025-12-13",
                "options_ids": [
                    28919
                ],
                "randomized_options_ids": [
                    28919
                ],
                "variants": []
            },
            {
                "date": "2025-12-14",
                "options_ids": [
                    28937
                ],
                "randomized_options_ids": [
                    28937
                ],
                "variants": []
            },
            {
                "date": "2025-12-15",
                "options_ids": [
                    28955
                ],
                "randomized_options_ids": [
                    28955
                ],
                "variants": []
            },
            {
                "date": "2025-12-16",
                "options_ids": [
                    28973
                ],
                "randomized_options_ids": [],
                "variants": [
                    1
                ]
            },
            {
                "date": "2025-12-17",
                "options_ids": [
                    28991
                ],
                "randomized_options_ids": [],
                "variants": [
                    2
                ]
            },
            {
                "date": "2025-12-18",
                "options_ids": [
                    29010
                ],
                "randomized_options_ids": [],
                "variants": [
                    3
                ]
            },
            {
                "date": "2025-12-19",
                "options_ids": [
                    29028
                ],
                "randomized_options_ids": [],
                "variants": [
                    0
                ]
            }
        ],
        "primary_location_id": {
            "id": 2697,
            "name_ar": "other",
            "name_en": "other",
            "location_url": "https://maps.google.com/?q=21.699019995643916,39.20774582773447",
            "latitude": "21.699019995643916",
            "longitude": "39.20774582773447",
            "address1": "Ali Ibn Maysara Street Umm Hablayn  Jeddah Saudi Arabia",
            "address2": "Jeddah",
            "city": {
                "id": 1,
                "created_at": "2022-03-12T17:16:56.847917Z",
                "modified_at": "2024-05-07T11:36:31.000029Z",
                "ordering": 0,
                "name_ar": "جده",
                "name_en": "Jeddah",
                "country_code": "SA",
                "keywords": "Jeddah,jeddah,جدة,جده",
                "is_supported": true
            },
            "type": "other",
            "description": "Building: 20, Floor: 5, Apartment: 1304, Notes: First address with district here api",
            "is_default": true
        },
        "secondary_location_id": 2697,
        "notes": "-",
        "start_date": "2025-12-13"
    },
    "is_saas": true
}
Modified at 2025-11-25 07:38:51
Previous
Postpone/Pause/Resume SubOrders
Next
List Subscription Orders
Built with