Method: subscriptions.list
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
রিসেলার দ্বারা পরিচালিত সদস্যতার তালিকা। তালিকাটি সমস্ত সদস্যতা, গ্রাহকের সমস্ত সদস্যতা বা গ্রাহকের স্থানান্তরযোগ্য সকল সদস্যতা হতে পারে।
ঐচ্ছিকভাবে, এই পদ্ধতিটি একটি customerNamePrefix
দ্বারা প্রতিক্রিয়া ফিল্টার করতে পারে। আরও তথ্যের জন্য, সদস্যতা পরিচালনা দেখুন।
HTTP অনুরোধ
GET https://reseller.googleapis.com/apps/reseller/v1/subscriptions
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
customerAuthToken | string customerAuthToken ক্যোয়ারী স্ট্রিং প্রয়োজন হয় যখন একটি পুনঃবিক্রীত অ্যাকাউন্ট তৈরি করা হয় যা সরাসরি গ্রাহকের সদস্যতা স্থানান্তর করে বা অন্য রিসেলার গ্রাহকের সদস্যতা আপনার রিসেলার পরিচালনায় স্থানান্তর করে। এটি একটি হেক্সাডেসিমেল প্রমাণীকরণ টোকেন যা সদস্যতা স্থানান্তর সম্পূর্ণ করার জন্য প্রয়োজন৷ আরও তথ্যের জন্য, প্রশাসক সহায়তা কেন্দ্র দেখুন। |
customerId | string এটি গ্রাহকের প্রাথমিক ডোমেন নাম বা গ্রাহকের অনন্য শনাক্তকারী হতে পারে। যদি একজন গ্রাহকের ডোমেন নাম পরিবর্তন হয়, তবে পুরানো ডোমেন নামটি গ্রাহককে অ্যাক্সেস করার জন্য ব্যবহার করা যাবে না, তবে গ্রাহকের অনন্য শনাক্তকারী (যেমন API দ্বারা ফেরত দেওয়া হয়েছে) সর্বদা ব্যবহার করা যেতে পারে। আমরা আপনার সিস্টেমে যেখানে প্রযোজ্য সেখানে অনন্য শনাক্তকারী সংরক্ষণ করার পরামর্শ দিই। |
customerNamePrefix | string আপনার সমস্ত সদস্যতা পুনরুদ্ধার করার সময় এবং নির্দিষ্ট গ্রাহকদের জন্য ফিল্টার করার সময়, আপনি একটি গ্রাহকের নামের জন্য একটি উপসর্গ লিখতে পারেন। exam.com , example20.com এবং example.com অন্তর্ভুক্ত একটি উদাহরণ গ্রাহক গ্রুপ ব্যবহার করা: -
exa -- 'exa' দিয়ে শুরু হওয়া সমস্ত গ্রাহকের নাম প্রদান করে যার মধ্যে exam.com , example20.com এবং example.com অন্তর্ভুক্ত থাকতে পারে। একটি নামের উপসর্গ একটি রেগুলার এক্সপ্রেশনের তারকাচিহ্ন, exa* ব্যবহার করার অনুরূপ। -
example -- example20.com এবং example.com প্রদান করে।
|
maxResults | integer ( uint32 format) একটি বড় তালিকা পুনরুদ্ধার করার সময়, maxResults হল প্রতি পৃষ্ঠায় সর্বাধিক ফলাফলের সংখ্যা। nextPageToken মান আপনাকে পরবর্তী পৃষ্ঠায় নিয়ে যায়। ডিফল্ট হল 20। |
pageToken | string তালিকার পরবর্তী পৃষ্ঠা নির্দিষ্ট করতে টোকেন |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
একটি সাবস্ক্রিপশন একটি পণ্যের SKU, ব্যবহারকারী লাইসেন্স, 30-দিনের বিনামূল্যে ট্রায়াল স্ট্যাটাস এবং পুনর্নবীকরণ বিকল্পগুলির সাথে Google গ্রাহকের অর্থপ্রদানের পরিকল্পনার সম্পর্ক পরিচালনা করে৷ একজন রিসেলারের প্রাথমিক ভূমিকা হল Google গ্রাহকের সদস্যতাগুলি পরিচালনা করা৷
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"kind": string,
"subscriptions": [
{
object (Subscription )
}
],
"nextPageToken": string
} |
ক্ষেত্র |
---|
kind | string সাবস্ক্রিপশনের সংগ্রহ হিসাবে সংস্থানকে চিহ্নিত করে। মান: রিসেলার#সাবস্ক্রিপশন |
subscriptions[] | object ( Subscription ) ফলাফল এই পৃষ্ঠায় সদস্যতা. |
nextPageToken | string ধারাবাহিকতা টোকেন, বড় ফলাফল সেটের মাধ্যমে পৃষ্ঠায় ব্যবহৃত হয়। ফলাফলের পরবর্তী পৃষ্ঠায় ফেরত দেওয়ার জন্য পরবর্তী অনুরোধে এই মানটি প্রদান করুন। |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/apps.order
-
https://www.googleapis.com/auth/apps.order.readonly
আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট 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.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.Subscriptions.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists of subscriptions managed by the reseller. The list can be all subscriptions, all of a customer's subscriptions, or all of a customer's transferable subscriptions.\n\nOptionally, this method can filter the response by a `customerNamePrefix`. For more information, see [manage subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_subscriptions).\n\n### HTTP request\n\n`GET https://reseller.googleapis.com/apps/reseller/v1/subscriptions`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `customerAuthToken` | `string` The `customerAuthToken` query string is required when creating a resold account that transfers a direct customer's subscription or transfers another reseller customer's subscription to your reseller management. This is a hexadecimal authentication token needed to complete the subscription transfer. For more information, see the [administrator help center](//support.google.com/a/bin/answer.py?answer=142336). |\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| `customerNamePrefix` | `string` When retrieving all of your subscriptions and filtering for specific customers, you can enter a prefix for a customer name. Using an example customer group that includes `exam.com`, `example20.com` and `example.com`: - `exa` -- Returns all customer names that start with 'exa' which could include `exam.com`, `example20.com`, and `example.com`. A name prefix is similar to using a regular expression's asterisk, exa\\*. - `example` -- Returns `example20.com` and `example.com`. \u003cbr /\u003e |\n| `maxResults` | `integer (`[uint32](https://developers.google.com/discovery/v1/type-format)` format)` When retrieving a large list, the `maxResults` is the maximum number of results per page. The `nextPageToken` value takes you to the next page. The default is 20. |\n| `pageToken` | `string` Token to specify next page in the list |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nA subscription manages the relationship of a Google customer's payment plan with a product's SKU, user licenses, 30-day free trial status, and renewal options. A primary role of a reseller is to manage the Google customer's subscriptions.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"subscriptions\": [ { object (/workspace/admin/reseller/reference/rest/v1/subscriptions#Subscription) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Identifies the resource as a collection of subscriptions. Value: reseller#subscriptions |\n| `subscriptions[]` | `object (`[Subscription](/workspace/admin/reseller/reference/rest/v1/subscriptions#Subscription)`)` The subscriptions in this page of results. |\n| `nextPageToken` | `string` The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/apps.order`\n- `\n https://www.googleapis.com/auth/apps.order.readonly`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]