Trước khi có thể thực hiện lệnh gọi nguồn cấp dữ liệu bổ sung bằng Content API, bạn phải tạo nguồn cấp dữ liệu bổ sung trong Merchant Center. Làm theo hướng dẫn trong phần Tạo nguồn cấp dữ liệu và đảm bảo bạn chọn Content API làm nguồn của nguồn cấp dữ liệu. Tuy nhiên, nguồn cấp dữ liệu chính mà bạn sửa đổi bằng nguồn cấp dữ liệu bổ sung có thể sử dụng bất kỳ nguồn nào, bao gồm cả Google Trang tính, tìm nạp theo lịch, tải lên trực tiếp hoặc Content API.
Truy xuất mã nhận dạng cho nguồn cấp dữ liệu bổ sung
Sau khi tạo nguồn cấp dữ liệu bổ sung, hãy truy xuất feedId trong Merchant Center để bạn có thể sử dụng mã này cho các lệnh gọi Content API.
Để truy xuất feedId, hãy làm theo các bước sau:
Trong Merchant Center, hãy chọn Sản phẩm > Nguồn cấp dữ liệu.
Trong phần Nguồn cấp dữ liệu bổ sung, hãy nhấp vào tên nguồn cấp dữ liệu, sau đó nhấp vào thẻ Cài đặt.
[null,null,["Cập nhật lần gần đây nhất: 2024-07-03 UTC."],[[["The Merchant API is the new version of the Content API for Shopping and represents the future of product data integration."],["To use supplemental feeds, you must first create them in Merchant Center and select \"Content API\" as the feed source, while your primary feed can use any source."],["Supplemental feeds cannot be directly created via the Content API, but their `feedId` can be retrieved from Merchant Center for use in API calls."]]],["The beta version of the Merchant API, the new Content API for Shopping, is introduced. To use supplemental feeds, users must first create them in Merchant Center, choosing \"Content API\" as the source, though the primary feed can be from any source. Supplemental feeds cannot be created directly via the Content API. To use the feeds, the feed ID must be retrieved from Merchant Center by selecting \"Products \u003e Feeds\" and viewing the feed's settings.\n"]]