ব্যবহারকারী এবং অ্যাক্সেস ব্যবস্থাপনা স্থানান্তর করুন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
কেনাকাটার জন্য সামগ্রী এপিআই-এ, আপনি Account সংস্থানের একটি ক্ষেত্র সহ ব্যবহারকারীদের এবং তাদের অ্যাক্সেসের অধিকারগুলি পরিচালনা করেছেন। Merchant API এটিকে User এবং সংশ্লিষ্ট পদ্ধতি (তৈরি, মুছে, পেতে, তালিকা, পথ) নামের উৎসর্গীকৃত সম্পদ দিয়ে প্রতিস্থাপন করে। আরও তথ্যের জন্য, আপনার অ্যাকাউন্টে অ্যাক্সেস নিয়ন্ত্রণ দেখুন।
মূল পার্থক্য
কেনাকাটার জন্য সামগ্রী API-এর তুলনায়, মার্চেন্ট API ব্যবহারকারী পরিচালনার জন্য নিম্নলিখিত সুবিধাগুলি অফার করে:
ডেডিকেটেড রিসোর্স : কে আপনার বণিক কেন্দ্র অ্যাকাউন্ট অ্যাক্সেস করতে পারে এবং তারা কী করতে পারে তা নিয়ন্ত্রণ করার জন্য এটি আরও দানাদার এবং সরাসরি উপায় প্রদান করে।
RESTful সম্পদের নাম : মার্চেন্ট এপিআই-এ, একটি সম্পূর্ণ রিসোর্স নাম দ্বারা User সংস্থান সনাক্ত করুন, উদাহরণস্বরূপ, accounts/12345/users/example@example.com ।
me alias : আপনি প্রমাণীকৃত ব্যবহারকারীকে উল্লেখ করতে রিসোর্সের নামের একটি ইমেল ঠিকানার জায়গায় alias me ব্যবহার করতে পারেন, উদাহরণস্বরূপ, accounts/12345/users/me ।
একত্রিত অ্যাক্সেসের অধিকার : মার্চেন্ট API Content API থেকে বুলিয়ান অ্যাক্সেস ক্ষেত্রগুলিকে একত্রিত করে (উদাহরণস্বরূপ, admin , reportingManager ) একটি একক, পুনরাবৃত্তিযোগ্য access_rights ফিল্ডে।
ব্যবহারকারীর আমন্ত্রণ এবং যাচাইকরণ : মার্চেন্ট এপিআই একটি স্পষ্ট ব্যবহারকারীর অবস্থা ( PENDING বা VERIFIED ) উপস্থাপন করে। আপনি যখন একটি নতুন ব্যবহারকারী তৈরি করেন, তারা আমন্ত্রণ গ্রহণ না করা পর্যন্ত একটি PENDING অবস্থায় থাকে৷ এটি ব্যবহারকারীর স্থিতিতে API দৃশ্যমানতা প্রদান করে, যা কেনাকাটার জন্য সামগ্রী API-তে উপলব্ধ ছিল না। ## অনুরোধ যোগ করুন
বণিক API ব্যবহারকারীদের পরিচালনা করতে নিম্নলিখিত অনুরোধের URL ব্যবহার করে:
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-08-08 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Migrate user and access management\n\nIn Content API for Shopping, you managed users and their access rights with a\nfield in the `Account` resource. Merchant API replaces this with the dedicated\nresource named\n[`User`](/merchant/api/reference/rest/accounts_v1/accounts.users) and\ncorresponding methods (create, delete, get, list, path). For more information,\nsee [Control access to your\naccount](/merchant/api/guides/accounts/control-access).\n\nKey differences\n---------------\n\nCompared to Content API for Shopping, Merchant API offers the following\nadvantages for user management:\n\n- **Dedicated resource**: This provides a more granular and direct way to control who can access your Merchant Center account and what they can do.\n- **RESTful resource names** : In Merchant API, identify `User` resources by a full resource name, for example, `accounts/12345/users/example@example.com`.\n- **`me` alias** : You can use the alias `me` in place of an email address in the resource name to refer to the authenticated user, for example, `accounts/12345/users/me`.\n- **Consolidated access rights** : Merchant API consolidates boolean access fields from Content API (for example, `admin`, `reportingManager`) into a single, repeatable`access_rights` field.\n- **User invitation and verification** : Merchant API introduces an explicit user state (`PENDING` or `VERIFIED`). When you create a new user, they are in a `PENDING` state until they accept the invitation. This provides API visibility into the user's status, which was not available in the Content API for Shopping. Add ## Requests\n\nMerchant API uses the following request URLs to manage users:\n\n- `GET /accounts/v1/accounts/{account}/users/{email}`\n- `GET /accounts/v1/accounts/{account}/users`\n- `POST /accounts/v1/accounts/{account}/users`\n- `PATCH /accounts/v1/accounts/{account}/users/{email}`\n- `DELETE /accounts/v1/accounts/{account}/users/{email}`\n\nThe following table compares the request URLs between the Content API for\nShopping and Merchant API.\n\n| Request description | Content API for Shopping | Merchant API |\n|--------------------------|---------------------------------------------------------|---------------------------------------------------------|\n| Get users for an account | `GET {api_version}/{merchantId}/accounts/{accountId}` | `GET {api_version}/accounts/{account}/users` |\n| Create a user | `PATCH {api_version}/{merchantId}/accounts/{accountId}` | `POST {api_version}/accounts/{account}/users` |\n| Update a user | `PATCH {api_version}/{merchantId}/accounts/{accountId}` | `PATCH {api_version}/accounts/{account}/users/{email}` |\n| Delete a user | `PATCH {api_version}/{merchantId}/accounts/{accountId}` | `DELETE {api_version}/accounts/{account}/users/{email}` |\n\nIdentifiers\n-----------\n\nThe following table compares the identifiers used in requests between the\nContent API for Shopping and Merchant API.\n\n| Identifier description | Content API for Shopping | Merchant API |\n|------------------------|-------------------------------------------------|-----------------------------------------------|\n| Account identifier | `accountId` | `account` in `accounts/{account}` |\n| User identifier | `email_address` within the `AccountUser` object | `email` in `accounts/{account}/users/{email}` |\n\nMethods\n-------\n\nThe following table compares the methods between the Content API for Shopping\nand Merchant API.\n\n| Content API for Shopping | Merchant API | Availability \\& notes |\n|--------------------------|----------------------------------------------------------------------------------|------------------------------------|\n| `accounts.update` | [`users.create`](/merchant/api/reference/rest/accounts_v1/accounts.users/create) | Creates a new user for an account. |\n| `accounts.get` | [`users.get`](/merchant/api/reference/rest/accounts_v1/accounts.users/get) | Retrieves a single user. |\n| `accounts.get` | [`users.list`](/merchant/api/reference/rest/accounts_v1/accounts.users/list) | Lists all users for an account. |\n| `accounts.update` | [`users.update`](/merchant/api/reference/rest/accounts_v1/accounts.users/update) | Updates a user's access rights. |\n| `accounts.update` | [`users.delete`](/merchant/api/reference/rest/accounts_v1/accounts.users/delete) | Deletes a user from an account. |\n\nDetailed field changes\n----------------------\n\nUpdate your use of fields as follows:\n\n| Content API for Shopping | Merchant API | Description |\n|---------------------------------------------------------------------------------------------|-----------------------------------------------------|---------------------------------------------------------------------------------------------------------------|\n| `users` (repeated `AccountUser`) | `users` (repeated `User`) | The `User` resource is now a top-level resource with its own service. |\n| `AccountUser.email_address` | `CreateUserRequest.user_id` and part of `User.name` | The user's email address is now part of the resource name. Specify it in the `user_id` field during creation. |\n| `AccountUser.admin` | `access_rights: \"ADMIN\"` | Merchant API replaces the boolean `admin` field by the `ADMIN` value in the `access_rights` enum. |\n| `AccountUser.order_manager`, `AccountUser.payments_manager`, `AccountUser.payments_analyst` | `access_rights: \"STANDARD\"` | Merchant API replaces these roles to `STANDARD` access right. |\n| `AccountUser.reporting_manager` | `access_rights: \"PERFORMANCE_REPORTING\"` | The `reporting_manager` role is now the `PERFORMANCE_REPORTING` access right. |\n| `AccountUser.read_only` | `access_rights: \"READ_ONLY\"` | The `read_only` role is now the `READ_ONLY` access right. |\n| Not available | `User.name` | Contains the full resource name of the user, for example, `accounts/{account}/users/{email}`. |\n| Not available | `User.state` | Indicates the status of the user's invitation, either `PENDING` or `VERIFIED`. |"]]