ローカル フィード パートナーシップを移行する

Merchant API を使用すると、在庫、店舗、販売のデータを共有できます Google と連携することで 可視性と管理性が向上します

リクエスト

ローカル フィード パートナー API には、次のリクエスト URL 形式を使用します。

POST https://merchantapi.googleapis.com/lfp/v1beta/{parent}/lfpInventories:insert

詳細については、メソッド: accounts.lfpInventories.insert.

Content API for Shopping とローカル フィードの比較例を次に示します 広告枠を挿入するリクエストに対応する Partner Advantage API:

Content API 販売者 API
URL POST https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/pos/{targetMerchantId}/inventory POST https://merchantapi.googleapis.com/lfp/v1beta/{parent}/lfpInventories:insert
ID {merchantId}/pos/{targetMerchantId} {parent}

Content API for Shopping とローカル フィードの比較例を次に示します セールを挿入するリクエストに対応する Partner Partner API:

Content API 販売者 API
URL POST https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/pos/{targetMerchantId}/sale POST https://merchantapi.googleapis.com/lfp/v1beta/{parent}/lfpSales:insert
識別子 {merchantId}/pos/{targetMerchantId} {parent}

Content API for Shopping とローカル フィードの比較例を次に示します パートナー API を使用して、ストアを挿入するリクエストを実行します。

Content API 販売者 API
URL POST https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/pos/{targetMerchantId}/store POST https://merchantapi.googleapis.com/lfp/v1beta/{parent}/lfpStores:insert
識別子 {merchantId}/pos/{targetMerchantId} {parent}

メソッド

ローカル フィード パートナーシップの店舗 API メソッドの変更点 API:

メソッド Content API for Shopping の URL Merchant API の URL Content API for Shopping の識別子 Merchant API での ID 説明
insert POST https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/pos/{targetMerchantId}/store POST https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores:insert {merchantId}/pos/{targetMerchantId} {parent} parent の形式は accounts/{lfpPartnerAccountId} です。
delete DELETE https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/pos/{targetMerchantId}/store/{storeCode} DELETE https://merchantapi.googleapis.com/lfp/v1beta/{name=accounts/*/lfpStores/*} {merchantId}/pos/{targetMerchantId}/store/{storeCode} {name} name の形式は accounts/{lfpPartnerAccountId}/lfpStores/{targetMerchantId}~{storeCode} です
get GET https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/pos/{targetMerchantId}/store/{storeCode} GET https://merchantapi.googleapis.com/lfp/v1beta/{name=accounts/*/lfpStores/*} {merchantId}/pos/{targetMerchantId}/store/{storeCode} {name} name の形式は accounts/{lfpPartnerAccountId}/lfpStores/{targetMerchantId}~{storeCode} です
list GET https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/pos/{targetMerchantId}/store GET https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpStores /{merchantId}/pos/{targetMerchantId} {parent} {parent} の形式は accounts/{lfpPartnerAccountId} です

ローカル フィード パートナーシップの在庫 API メソッドの変更点 API:

メソッド Content API for Shopping の URL Merchant API の URL Content API for Shopping の識別子 Merchant API での ID 説明
insert POST https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/pos/{targetMerchantId}/store POST https://merchantapi.googleapis.com/lfp/v1beta/{parent}/lfpInventories:insert {merchantId}/pos/{targetMerchantId} {parent} parent の形式は accounts/{lfpPartnerAccountId} です

ローカル フィード パートナーシップの Sales API メソッドの変更点 API:

メソッド Content API for Shopping の URL Merchant API の URL Content API for Shopping の識別子 Merchant API での ID 説明
insert POST https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/pos/{targetMerchantId}/store POST https://merchantapi.googleapis.com/lfp/v1beta/{parent}/lfpSales:insert {merchantId}/pos/{targetMerchantId} {parent} {parent} の形式は accounts/{lfpPartnerAccountId} です

リソース

ローカル フィード パートナーシップにおける店舗リソースの変更点 APIここに記載されていないフィールドは変更されません。

Content API for Shopping 販売者 API 説明
サポート対象外 name: string 異なる店舗を区別するための新しいフィールドを追加しました
サポート対象外 targetAccount: integer 在庫を挿入する販売アカウント
targetCountry: string regionCode: string targetCountry の名前が regionCode に変更されました。
websiteUrl: string websiteUri: string websiteUrl の名前が websiteUri に変更されました。
kind: string サポート対象外 kind は、ローカル フィード パートナー API ではサポートされていません

広告枠の挿入に関する変更点は次のとおりです。ここに含まれないフィールドは、 変更はありません。

Content API for Shopping 販売者 API 説明
サポート対象外 name: string さまざまな広告枠を区別するための新しいフィールドを追加
サポート対象外 targetAccount: integer 在庫を挿入する販売アカウント。
targetCountry: string regionCode: string targetCountry の名前を regionCode に変更しました。商品が販売される国の CLDR 地域コード。
itemId: string offerId: string itemId の名前が offerId に変更されました。
quantity: string quantity: string quantity は任意に更新されました
サポート対象外 availability: string availability は必須です

price: {

object (Price)

}

price: {

object (Price)

}

価格の定義が変更されました。詳しくは、料金をご覧ください。
timestamp: string collectionTime: string timestamp の名前が collectionTime に変更されました。
kind: string サポート対象外 kind は、ローカル フィード パートナー API ではサポートされていません。

セールの挿入に関する変更点は次のとおりです。ここに含まれないフィールドは、 変更はありません。

Content API for Shopping 販売者 API 説明
サポート対象外 name: string さまざまな広告枠を区別するための新しいフィールドを追加
サポート対象外 targetAccount:integer 売り上げを挿入する販売アカウント
targetCountry: string regionCode: string 商品が販売される国の CLDR 地域コード。
itemId: string offerId: string itemId の名前が offerId に変更されました。

price: {

object (Price)

}

price: {

object (Price)

}

価格の定義が変更されました。詳しくは、料金をご覧ください。
timestamp: string saleTime: string timestamp の名前が saleTime に変更されました。
kind: string サポート対象外 kind は、ローカル フィード パートナー API ではサポートされていません。