Method: subscriptions.suspend
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি সক্রিয় সদস্যতা স্থগিত করে।
আপনি বর্তমানে ACTIVE
অবস্থায় থাকা একটি অর্থপ্রদানের সদস্যতা স্থগিত করতে এই পদ্ধতিটি ব্যবহার করতে পারেন৷
-
FLEXIBLE
সদস্যতার জন্য, বিলিং বিরাম দেওয়া হয়েছে৷ -
ANNUAL_MONTHLY_PAY
বা ANNUAL_YEARLY_PAY
সদস্যতার জন্য:- সদস্যতা স্থগিত করা পুনর্নবীকরণ তারিখ পরিবর্তন করে না যা মূলত প্রতিশ্রুতিবদ্ধ ছিল।
- একটি স্থগিত সদস্যতা পুনর্নবীকরণ করা হয় না. আপনি যদি মূল পুনর্নবীকরণ তারিখের পরে সদস্যতা সক্রিয় করেন, সক্রিয়করণের দিন থেকে শুরু করে একটি নতুন বার্ষিক সদস্যতা তৈরি করা হবে।
আমরা দৃঢ়ভাবে আপনাকে শুধুমাত্র অল্প সময়ের জন্য সদস্যতা স্থগিত করতে উত্সাহিত করি কারণ 60 দিনের বেশি সাসপেনশনের ফলে সদস্যতা বাতিল হতে পারে।
HTTP অনুরোধ
POST https://reseller.googleapis.com/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/suspend
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.suspend\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\nSuspends an active subscription.\n\nYou can use this method to suspend a paid subscription that is currently in the `ACTIVE` state.\n\n- For `FLEXIBLE` subscriptions, billing is paused.\n- For `ANNUAL_MONTHLY_PAY` or `ANNUAL_YEARLY_PAY` subscriptions:\n - Suspending the subscription does not change the renewal date that was originally committed to.\n - A suspended subscription does not renew. If you activate the subscription after the original renewal date, a new annual subscription will be created, starting on the day of activation.\n\nWe strongly encourage you to suspend subscriptions only for short periods of time as suspensions over 60 days may result in the subscription being cancelled.\n\n### HTTP request\n\n`POST https://reseller.googleapis.com/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/suspend`\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)."]]