오프라인 제품 피드 파트너 이전

판매자 API를 사용하여 인벤토리, 매장, 판매 데이터를 공유할 수 있습니다. Google과 함께하면 가시성과 관리가 개선됩니다

요청

오프라인 피드 파트너 API에는 다음 요청 URL 형식을 사용합니다.

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

자세한 내용은 메서드: accounts.lfpInventories.insert.

다음은 Content API for Shopping과 오프라인 피드의 샘플 비교입니다. 파트너십 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
식별자 {merchantId}/pos/{targetMerchantId} {parent}

다음은 Content API for Shopping과 오프라인 피드의 샘플 비교입니다. 파트너십 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 판매자 API의 URL Content API for Shopping의 식별자 판매자 API의 식별자 설명
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}입니다.

오프라인 제품 피드 파트너십에서 Inventory API 메서드에 적용된 변경사항은 다음과 같습니다. API:

메서드 Content API for Shopping의 URL 판매자 API의 URL Content API for Shopping의 식별자 판매자 API의 식별자 설명
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}입니다.

오프라인 피드 파트너십에서 판매 API 메서드에 대해 변경된 사항은 다음과 같습니다. API:

메서드 Content API for Shopping의 URL 판매자 API의 URL Content API for Shopping의 식별자 판매자 API의 식별자 설명
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에서 지원되지 않습니다.