ショッピング パートナーと個々の販売者アカウントの両方で、アカウント間や他のアカウントとの間で複数のフラグ付きリンクを設定できます。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-08-13 UTC。"],[],["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"],null,[]]