ショッピング パートナーと個々の販売者アカウントの両方で、アカウントと他のアカウントの間に複数のフラグが立てられたリンクが存在する場合があります。listlinks メソッドは、API 呼び出しを行う Merchant Center アカウントのこれらのリンクのリストを返します。パラメータは必要ありません。HTTP GET リクエストを使用して呼び出されます。
サービスのステータス
リンクをリストすると、リンク内の個々の service ごとに status がレスポンスに表示されます。販売者は、リスト内のすべてのサービス、またはリクエストで提案されたサービスのサブセットのみを承認できます。
サービスは、販売者によって明示的に承認されるまで pending ステータスで開始されます。承認されると、サービスのステータスは active になります。
削除されたサービスには、他の pending サービスまたは active サービスも存在する場合、ステータス inactive が表示されます。リンクを構成するすべてのサービスが削除されると、listlinks メソッドによってリンクが返されなくなります。
リクエスト例
パートナー 123456789 から送信されたリンク リクエストを一覧表示するには、listlinks メソッドを使用してパラメータなしの GET リクエストを送信します。
GET https://shoppingcontent.googleapis.com/content/v2.1/123456789/accounts/123456789/listlinks
[[["わかりやすい","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-06-19 UTC。"],[[["The Merchant API is the new version of the Content API for Shopping and represents the future of the platform."],["The `listlinks` method allows retrieval of all flagged links between accounts, providing insight into account relationships."],["Each service within a link has a status, starting as `pending`, transitioning to `active` upon approval, and ultimately becoming `inactive` when removed."],["A simple HTTP GET request to the `listlinks` endpoint is sufficient to retrieve link information without requiring any parameters."]]],["The beta version of the Merchant API, the new Content API for Shopping, is introduced. The `listlinks` method retrieves all links between merchant accounts without parameters via a `GET` request. Each service within a link has a `status`: `pending` (awaiting merchant approval), `active` (approved), or `inactive` (removed, but other services remain). Once all services are removed, the link is no longer listed. A `GET` request example and the `listlinks` method's response format are provided.\n"]]