किसी कारोबार के लिए सूचना की सदस्यता बनाता है. स्टैंडअलोन या उप-खाते वाले खातों के लिए, कारोबार खुद के लिए सदस्यता बना सकता है. एमसीए के लिए, कारोबार सभी मैनेज किए जा रहे खातों या किसी खास उप-खाते के लिए सदस्यता बना सकता है.
हम सूचना की इन सदस्यताओं को एक साथ मौजूद रहने की अनुमति देंगे (हर इवेंट टाइप के लिए, हर कारोबार के तौर पर सदस्य):
मैनेज किए जा रहे सभी खातों के लिए सदस्यता + खुद के लिए सदस्यता.
मैनेज किए जा रहे खातों के लिए एक से ज़्यादा "कुछ समय के लिए" सदस्यताएं और खुद के लिए सदस्यता.
हम इनकी अनुमति नहीं देंगे:
खुद के लिए ली गई कई सदस्यताएं.
"मैनेज किए जा रहे सभी खातों" की कई सदस्यताएं.
"मैनेज किए जा रहे सभी खातों" की सदस्यता और कुछ खातों की सदस्यता, एक ही समय पर.
एक ही टारगेट खाते के लिए, कई पार्टल सदस्यताएं.
एचटीटीपी अनुरोध
POST https://merchantapi.googleapis.com/notifications/v1beta/{parent=accounts/*}/notificationsubscriptions
[[["समझने में आसान है","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-01-23 (UTC) को अपडेट किया गया."],[[["This API creates notification subscriptions for businesses, allowing them to receive updates on various events."],["Businesses can create subscriptions for themselves, all managed accounts, or specific sub-accounts, with certain restrictions to avoid redundancy."],["The API requires a POST request to a specific URL with the merchant account ID and a request body containing the subscription details."],["A successful response will return the newly created notification subscription details."],["Authorization requires the `https://www.googleapis.com/auth/content` OAuth scope."]]],["This describes how to create a notification subscription for a business via a `POST` request to `https://merchantapi.googleapis.com/notifications/v1beta/{parent=accounts/*}/notificationsubscriptions`. The request uses a `parent` path parameter specifying the merchant account. The request and response bodies are `NotificationSubscription` instances. Subscriptions can be for self or managed accounts, with restrictions preventing multiple full or partial subscriptions of the same type. Authorization requires the `https://www.googleapis.com/auth/content` OAuth scope.\n"]]