किसी व्यापारी/कंपनी/कारोबारी के खाते के मालिकाना हक वाली सूचना की सदस्यता दिखाता है.
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 बनाने पर, Content API से जनरेट होता है. account, कॉन्फ़िगरेशन के मालिक कारोबारी या कंपनी का मर्चेंट आईडी दिखाता है. फ़ॉर्मैट: accounts/{account}/notificationsubscriptions/{notificationSubscription}
वह इवेंट जिसके बारे में व्यापारी/कंपनी को सूचना चाहिए.
callBackUri
string
व्यापारी/कंपनी/कारोबारी को सूचना भेजने के लिए इस्तेमाल किया जाने वाला यूआरएल.
यूनियन फ़ील्ड interested_in.
interested_in इनमें से कोई एक हो सकता है:
allManagedAccounts
boolean
अगर यह वैल्यू 'सही' पर सेट है, तो अनुरोध करने वाले खाते को मैनेज किए जा रहे सभी खातों (ये सब-खाते या लिंक किए गए अन्य खाते हो सकते हैं) के लिए, तय किए गए इवेंट की सूचना हर दिन दी जाती है. इसमें, नए जोड़े गए खाते भी शामिल हैं.
targetAccount
string
उस खाते का name जिससे आपको सूचनाएं चाहिए. फ़ॉर्मैट: accounts/{account}
NotificationEventType
इस एट्रिब्यूट से उस इवेंट टाइप के बारे में पता चलता है जिसके लिए व्यापारी/कंपनी को सूचनाएं चाहिए.
Enums
NOTIFICATION_EVENT_TYPE_UNSPECIFIED
सूचनाओं के इवेंट टाइप की जानकारी नहीं दी गई है.
PRODUCT_STATUS_CHANGE
प्रॉडक्ट के स्टेटस में हुए बदलावों की सूचना. उदाहरण के लिए, जब प्रॉडक्ट अस्वीकार कर दिया जाता है.
[[["समझने में आसान है","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"]],["आखिरी बार 2024-11-24 (UTC) को अपडेट किया गया."],[[["NotificationSubscription enables merchants to receive notifications about specific events related to their account."],["Merchants can configure which events trigger notifications, such as product status changes, and provide a callback URL to receive them."],["The API offers methods to create, delete, retrieve, and update notification subscriptions."],["It allows merchants to receive notifications for events occurring on all managed accounts or a specific target account."]]],["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"]]