API Thông báo
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Nhật ký thay đổi
Phiên bản 1.2: 07/02/2022
LOSS_OF_VOICE_OF_MERCHANT
Thêm VOICE_OF_MERCHANT_UPDATED
để cho biết trạng thái của người bán đã thay đổi. Trạng thái này sẽ bao gồm việc có được hoặc mất trạng thái tiếng nói của người bán.
Ngừng sử dụng loại thông báo LOSS_OF_VOICE_OF_MERCHANT
.
Phiên bản 1.1: 13/12/2021
LOSS_OF_VOICE_OF_MERCHANT
Thêm loại thông báo LOSS_OF_VOICE_OF_MERCHANT
cho biết liệu vị trí có bị mất trạng thái của người bán hay không.
v1
Truy cập API
Bạn cần bật Notifications API trong Bảng điều khiển GCP. Phạm vi OAuth vẫn giữ nguyên.
URL điểm cuối
Bạn có thể truy cập vào API Thông báo tại https://mybusinessnotifications.googleapis.com/v1/accounts/{accountId}/notificationSetting
thay vì https://mybusiness.googleapis.com/v4/accounts/{accountId}/notifications
topicName
đổi tên thành pubSubTopic
Thông tin khác
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-29 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-29 UTC."],[[["\u003cp\u003eThe Notifications API endpoint URL and a field name have been updated, and it needs to be enabled from the GCP Console.\u003c/p\u003e\n"],["\u003cp\u003eA new notification type \u003ccode\u003eVOICE_OF_MERCHANT_UPDATED\u003c/code\u003e has been added to indicate change in voice of merchant status, encompassing both gain and loss, and \u003ccode\u003eLOSS_OF_VOICE_OF_MERCHANT\u003c/code\u003e is deprecated.\u003c/p\u003e\n"],["\u003cp\u003ePreviously, the \u003ccode\u003eLOSS_OF_VOICE_OF_MERCHANT\u003c/code\u003e notification type was added to indicate a loss in the voice of merchant status for a location.\u003c/p\u003e\n"]]],["The document outlines updates to a Notifications API. Version 1.1 introduced `LOSS_OF_VOICE_OF_MERCHANT` to indicate a loss of voice of merchant status. Version 1.2 deprecated this in favor of `VOICE_OF_MERCHANT_UPDATED`, which signifies any change in voice of merchant status (gain or loss). The API is now enabled via the GCP Console and its endpoint URL has changed. The parameter `topicName` has also been renamed to `pubSubTopic`.\n"],null,["# Notifications API\n\n\u003cbr /\u003e\n\nChange log\n----------\n\n### v1.2: 2022-02-07\n\n#### LOSS_OF_VOICE_OF_MERCHANT\n\nAddition of `VOICE_OF_MERCHANT_UPDATED` to indicate a change in voice of merchant status. This status will encompass gain or loss of voice of merchant status.\n\nDeprecation of the `LOSS_OF_VOICE_OF_MERCHANT` notification type.\n\n### v1.1: 2021-12-13\n\n#### LOSS_OF_VOICE_OF_MERCHANT\n\nAddition of the `LOSS_OF_VOICE_OF_MERCHANT` notification type which indicates whether the location has a loss in voice of merchant status.\n\n### v1\n\n#### API Access\n\nThe Notifications API will need to be enabled from the [GCP Console.](https://console.developers.google.com/apis/library/mybusinessnotifications.googleapis.com) The OAuth scope remains the same.\n\n#### Endpoint URLs\n\nThe Notifications API is accessible at `https://mybusinessnotifications.googleapis.com/v1/accounts/{accountId}/notificationSetting` instead of `https://mybusiness.googleapis.com/v4/accounts/{accountId}/notifications`\n\n#### `topicName` has been renamed to `pubSubTopic`. [More info](/my-business/preview/reference/notifications/rest/v1/NotificationSetting)"]]