Method: subscriptions.activate
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
রিসেলার দ্বারা পূর্বে স্থগিত করা একটি সদস্যতা সক্রিয় করে৷
আপনি যদি গ্রাহক সাবস্ক্রিপশন স্থগিত না করে থাকেন এবং অন্য কোনো কারণে যেমন অপব্যবহারের জন্য বা মুলতুবি থাকা ToS গ্রহণের জন্য এটি স্থগিত করা হয়, তাহলে এই কলটি গ্রাহক সদস্যতা পুনরায় সক্রিয় করবে না।
HTTP অনুরোধ
POST https://reseller.googleapis.com/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/activate
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
customerId | string এটি গ্রাহকের প্রাথমিক ডোমেন নাম বা গ্রাহকের অনন্য শনাক্তকারী হতে পারে। যদি একজন গ্রাহকের ডোমেন নাম পরিবর্তন হয়, তবে পুরানো ডোমেন নামটি গ্রাহককে অ্যাক্সেস করার জন্য ব্যবহার করা যাবে না, তবে গ্রাহকের অনন্য শনাক্তকারী (যেমন API দ্বারা ফেরত দেওয়া হয়েছে) সর্বদা ব্যবহার করা যেতে পারে। আমরা আপনার সিস্টেমে যেখানে প্রযোজ্য সেখানে অনন্য শনাক্তকারী সংরক্ষণ করার পরামর্শ দিই। |
subscriptionId | string এটি একটি প্রয়োজনীয় সম্পত্তি। subscriptionId হল সাবস্ক্রিপশন শনাক্তকারী এবং প্রতিটি গ্রাহকের জন্য অনন্য। যেহেতু একটি সাবস্ক্রিপশন আপডেট করা হলে একটি subscriptionId পরিবর্তিত হয়, তাই আমরা এই আইডিটিকে স্থায়ী ডেটার জন্য একটি কী হিসাবে ব্যবহার না করার পরামর্শ দিই। এবং subscriptionId পুনরুদ্ধার সমস্ত রিসেলার সদস্যতা পদ্ধতি ব্যবহার করে পাওয়া যেতে পারে। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে Subscription
একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/apps.order
আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Method: subscriptions.activate\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nActivates a subscription previously suspended by the reseller.\n\nIf you did not suspend the customer subscription and it is suspended for any other reason, such as for abuse or a pending ToS acceptance, this call will not reactivate the customer subscription.\n\n### HTTP request\n\n`POST https://reseller.googleapis.com/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/activate`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `customerId` | `string` This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable. |\n| `subscriptionId` | `string` This is a required property. The `subscriptionId` is the subscription identifier and is unique for each customer. Since a `subscriptionId` changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the `subscriptionId` can be found using the [retrieve all reseller subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_subscriptions#get_all_subscriptions) method. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Subscription](/workspace/admin/reseller/reference/rest/v1/subscriptions#Subscription).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/apps.order`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]