Method: customers.update
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি গ্রাহক অ্যাকাউন্টের সেটিংস আপডেট করে।
আপনি রিসেলার API এর মাধ্যমে customerType
আপডেট করতে পারবেন না, তবে একজন "team"
গ্রাহক তাদের ডোমেন যাচাই করতে পারেন এবং customerType = "domain"
হতে পারেন।
আরও তথ্যের জন্য, একটি গ্রাহকের সেটিংস আপডেট দেখুন।
HTTP অনুরোধ
PUT https://reseller.googleapis.com/apps/reseller/v1/customers/{customerId}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
customerId | string এটি গ্রাহকের প্রাথমিক ডোমেন নাম বা গ্রাহকের অনন্য শনাক্তকারী হতে পারে। যদি একজন গ্রাহকের ডোমেন নাম পরিবর্তন হয়, তবে পুরানো ডোমেন নামটি গ্রাহককে অ্যাক্সেস করার জন্য ব্যবহার করা যাবে না, তবে গ্রাহকের অনন্য শনাক্তকারী (যেমন API দ্বারা ফেরত দেওয়া হয়েছে) সর্বদা ব্যবহার করা যেতে পারে। আমরা আপনার সিস্টেমে যেখানে প্রযোজ্য সেখানে অনন্য শনাক্তকারী সংরক্ষণ করার পরামর্শ দিই। |
শরীরের অনুরোধ
অনুরোধের মূল অংশে Customer
একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে Customer
একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত 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: customers.update\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\nUpdates a customer account's settings.\n\nYou cannot update `customerType` via the Reseller API, but a `\"team\"` customer can verify their domain and become `customerType = \"domain\"`.\n\nFor more information, see [update a customer's settings](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_customers#update_customer).\n\n### HTTP request\n\n`PUT https://reseller.googleapis.com/apps/reseller/v1/customers/{customerId}`\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\n### Request body\n\nThe request body contains an instance of [Customer](/workspace/admin/reseller/reference/rest/v1/customers#Customer).\n\n### Response body\n\nIf successful, the response body contains an instance of [Customer](/workspace/admin/reseller/reference/rest/v1/customers#Customer).\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)."]]