REST Resource: accounts.notificationsubscriptions
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
সম্পদ: বিজ্ঞপ্তি সাবস্ক্রিপশন
একটি মার্চেন্ট অ্যাকাউন্টের মালিকানাধীন একটি বিজ্ঞপ্তি সদস্যতা প্রতিনিধিত্ব করে।
JSON প্রতিনিধিত্ব |
---|
{
"name": string,
"registeredEvent": enum (NotificationEventType ),
"callBackUri": string,
// Union field interested_in can be only one of the following:
"allManagedAccounts": boolean,
"targetAccount": string
// End of list of possible types for union field interested_in .
} |
ক্ষেত্র |
---|
name | string শুধুমাত্র আউটপুট। বিজ্ঞপ্তি কনফিগারেশনের name । একটি নতুন NotificationSubscription তৈরি করার পরে বিষয়বস্তু API দ্বারা উত্পন্ন হয়৷ account কনফিগারেশনের মালিক বণিকের বণিক ID প্রতিনিধিত্ব করে। বিন্যাস: accounts/{account}/notificationsubscriptions/{notificationSubscription} |
registered Event | enum ( NotificationEventType ) যে ইভেন্ট সম্পর্কে বণিক বিজ্ঞপ্তি পেতে চান। |
call Back Uri | string ইউআরএলটি বণিকের কাছে বিজ্ঞপ্তি পাঠানোর জন্য ব্যবহার করা হবে। |
ইউনিয়ন ক্ষেত্র interested_in । interested_in নিম্নলিখিতগুলির মধ্যে একটি হতে পারে: |
all Managed Accounts | boolean যদি এই মানটি সত্য হয়, অনুরোধকারী অ্যাকাউন্টটিকে প্রতিদিনের ভিত্তিতে নতুন যোগ করা অ্যাকাউন্টগুলি সহ সমস্ত পরিচালিত অ্যাকাউন্টের (সাবঅ্যাকাউন্ট বা অন্যান্য লিঙ্ক করা অ্যাকাউন্ট হতে পারে) জন্য নির্দিষ্ট ইভেন্ট সম্পর্কে অবহিত করা হয়। |
target Account | string আপনি যে অ্যাকাউন্টের জন্য বিজ্ঞপ্তি পেতে চান তার name । বিন্যাস: accounts/{account} |
বিজ্ঞপ্তি ইভেন্ট টাইপ
ব্যবসায়ী যে ইভেন্টের জন্য বিজ্ঞপ্তি পেতে আগ্রহী তা উপস্থাপন করে।
Enums |
---|
NOTIFICATION_EVENT_TYPE_UNSPECIFIED | বিজ্ঞপ্তি ইভেন্ট প্রকার অনির্দিষ্ট. |
PRODUCT_STATUS_CHANGE | পণ্যের স্থিতি পরিবর্তনের বিজ্ঞপ্তি, উদাহরণস্বরূপ যখন পণ্যটি অস্বীকৃত হয়। |
পদ্ধতি |
---|
| একটি ব্যবসার জন্য একটি বিজ্ঞপ্তি সদস্যতা তৈরি করে। |
| একজন বণিকের জন্য একটি বিজ্ঞপ্তি সদস্যতা মুছে দেয়। |
| একটি অ্যাকাউন্টের জন্য বিজ্ঞপ্তি সদস্যতা পায়। |
| একজন ব্যবসায়ীর জন্য সমস্ত বিজ্ঞপ্তি সদস্যতা পায়। |
| একজন ব্যবসায়ীর জন্য একটি বিদ্যমান বিজ্ঞপ্তি সদস্যতা আপডেট করে। |
,
সম্পদ: বিজ্ঞপ্তি সাবস্ক্রিপশন
একটি মার্চেন্ট অ্যাকাউন্টের মালিকানাধীন একটি বিজ্ঞপ্তি সদস্যতা প্রতিনিধিত্ব করে।
JSON প্রতিনিধিত্ব |
---|
{
"name": string,
"registeredEvent": enum (NotificationEventType ),
"callBackUri": string,
// Union field interested_in can be only one of the following:
"allManagedAccounts": boolean,
"targetAccount": string
// End of list of possible types for union field interested_in .
} |
ক্ষেত্র |
---|
name | string শুধুমাত্র আউটপুট। বিজ্ঞপ্তি কনফিগারেশনের name । একটি নতুন NotificationSubscription তৈরি করার পরে বিষয়বস্তু API দ্বারা উত্পন্ন হয়৷ account কনফিগারেশনের মালিক বণিকের বণিক ID প্রতিনিধিত্ব করে। বিন্যাস: accounts/{account}/notificationsubscriptions/{notificationSubscription} |
registered Event | enum ( NotificationEventType ) যে ইভেন্ট সম্পর্কে বণিক বিজ্ঞপ্তি পেতে চান। |
call Back Uri | string ইউআরএলটি বণিকের কাছে বিজ্ঞপ্তি পাঠানোর জন্য ব্যবহার করা হবে। |
ইউনিয়ন ক্ষেত্র interested_in । interested_in নিম্নলিখিতগুলির মধ্যে একটি হতে পারে: |
all Managed Accounts | boolean যদি এই মানটি সত্য হয়, অনুরোধকারী অ্যাকাউন্টটিকে প্রতিদিনের ভিত্তিতে নতুন যোগ করা অ্যাকাউন্টগুলি সহ সমস্ত পরিচালিত অ্যাকাউন্টের (সাবঅ্যাকাউন্ট বা অন্যান্য লিঙ্ক করা অ্যাকাউন্ট হতে পারে) জন্য নির্দিষ্ট ইভেন্ট সম্পর্কে অবহিত করা হয়। |
target Account | string আপনি যে অ্যাকাউন্টের জন্য বিজ্ঞপ্তি পেতে চান তার name । বিন্যাস: accounts/{account} |
বিজ্ঞপ্তি ইভেন্ট টাইপ
ব্যবসায়ী যে ইভেন্টের জন্য বিজ্ঞপ্তি পেতে আগ্রহী তা উপস্থাপন করে।
Enums |
---|
NOTIFICATION_EVENT_TYPE_UNSPECIFIED | বিজ্ঞপ্তি ইভেন্ট প্রকার অনির্দিষ্ট. |
PRODUCT_STATUS_CHANGE | পণ্যের স্থিতি পরিবর্তনের বিজ্ঞপ্তি, উদাহরণস্বরূপ যখন পণ্য অস্বীকৃত হয়। |
পদ্ধতি |
---|
| একটি ব্যবসার জন্য একটি বিজ্ঞপ্তি সদস্যতা তৈরি করে। |
| একজন বণিকের জন্য একটি বিজ্ঞপ্তি সদস্যতা মুছে দেয়। |
| একটি অ্যাকাউন্টের জন্য বিজ্ঞপ্তি সদস্যতা পায়। |
| একজন ব্যবসায়ীর জন্য সমস্ত বিজ্ঞপ্তি সদস্যতা পায়। |
| একজন ব্যবসায়ীর জন্য একটি বিদ্যমান বিজ্ঞপ্তি সদস্যতা আপডেট করে। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-11-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-11-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eNotificationSubscription enables merchants to receive notifications about specific events related to their account.\u003c/p\u003e\n"],["\u003cp\u003eMerchants can configure which events trigger notifications, such as product status changes, and provide a callback URL to receive them.\u003c/p\u003e\n"],["\u003cp\u003eThe API offers methods to create, delete, retrieve, and update notification subscriptions.\u003c/p\u003e\n"],["\u003cp\u003eIt allows merchants to receive notifications for events occurring on all managed accounts or a specific target account.\u003c/p\u003e\n"]]],["Merchants can create `NotificationSubscription` resources to receive updates about specific events. Each subscription includes a `name`, a `registeredEvent` (e.g., `PRODUCT_STATUS_CHANGE`), and a `callBackUri` for notification delivery. Merchants can specify if they want to receive events regarding `allManagedAccounts` or a `targetAccount`. Available methods include `create`, `delete`, `get`, `list`, and `patch` for managing these subscriptions. Notification event type can be `PRODUCT_STATUS_CHANGE` or `NOTIFICATION_EVENT_TYPE_UNSPECIFIED`.\n"],null,["# REST Resource: accounts.notificationsubscriptions\n\n- [Resource: NotificationSubscription](#NotificationSubscription)\n - [JSON representation](#NotificationSubscription.SCHEMA_REPRESENTATION)\n- [NotificationEventType](#NotificationEventType)\n- [Methods](#METHODS_SUMMARY)\n\nResource: NotificationSubscription\n----------------------------------\n\nRepresents a notification subscription owned by a Merchant account.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"registeredEvent\": enum (/merchant/api/reference/rest/notifications_v1beta/accounts.notificationsubscriptions#NotificationEventType), \"callBackUri\": string, // Union field `interested_in` can be only one of the following: \"allManagedAccounts\": boolean, \"targetAccount\": string // End of list of possible types for union field `interested_in`. } ``` |\n\n| Fields ||\n|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The `name` of the notification configuration. Generated by the Content API upon creation of a new `NotificationSubscription`. The `account` represents the merchant ID of the merchant that owns the configuration. Format: `accounts/{account}/notificationsubscriptions/{notificationSubscription}` |\n| `registeredEvent` | `enum (`[NotificationEventType](/merchant/api/reference/rest/notifications_v1beta/accounts.notificationsubscriptions#NotificationEventType)`)` The event that the merchant wants to be notified about. |\n| `callBackUri` | `string` URL to be used to push the notification to the merchant. |\n| Union field `interested_in`. `interested_in` can be only one of the following: ||\n| `allManagedAccounts` | `boolean` If this value is true, the requesting account is notified of the specified event for all managed accounts (can be subaccounts or other linked accounts) including newly added accounts on a daily basis. |\n| `targetAccount` | `string` The `name` of the account you want to receive notifications for. Format: `accounts/{account}` |\n\nNotificationEventType\n---------------------\n\nRepresents the event type that the merchant is interested in receiving notifications for.\n\n| Enums ||\n|---------------------------------------|---------------------------------------------------------------------------------------|\n| `NOTIFICATION_EVENT_TYPE_UNSPECIFIED` | Notifications event type is unspecified. |\n| `PRODUCT_STATUS_CHANGE` | Notification of product status changes, for example when product becomes disapproved. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------------------------|---------------------------------------------------------------|\n| ### [create](/merchant/api/reference/rest/notifications_v1beta/accounts.notificationsubscriptions/create) | Creates a notification subscription for a business. |\n| ### [delete](/merchant/api/reference/rest/notifications_v1beta/accounts.notificationsubscriptions/delete) | Deletes a notification subscription for a merchant. |\n| ### [get](/merchant/api/reference/rest/notifications_v1beta/accounts.notificationsubscriptions/get) | Gets notification subscriptions for an account. |\n| ### [list](/merchant/api/reference/rest/notifications_v1beta/accounts.notificationsubscriptions/list) | Gets all the notification subscriptions for a merchant. |\n| ### [patch](/merchant/api/reference/rest/notifications_v1beta/accounts.notificationsubscriptions/patch) | Updates an existing notification subscription for a merchant. |"]]