판매자 계정과의 관계를 신고하려면 먼저 쇼핑 파트너가
accounts.link
메서드를 사용하여
연결 요청을 보내야 합니다.
연결 요청에는 요청을 수신한 판매자를
식별하는 linkedAccountId
가 포함되며 action
유형의 request
가
포함됩니다. 또한 각 링크는 파트너가 판매자에게 제공하는 기능을 열거하는
services
집합을 지정해야 합니다. 다음 services
값이 지원됩니다.
서비스 | 설명 |
---|---|
shoppingAdsProductManagement |
쇼핑 광고 제품 데이터 관리 |
shoppingActionsProductManagement |
Buy on Google (이전 명칭: Shopping Actions)의 제품 데이터 관리 |
shoppingActionsOrderManagement |
Buy on Google 주문 관리 (이전 명칭: Shopping Actions) |
또한 요청에는 요청하는 쇼핑 파트너의 유형을 설명하는 유효한 linkType
도 포함되어야 합니다. 쇼핑 파트너에게는 다음 라벨 중 하나가 할당되며 API를 호출할 때 linkType
필드에서 지정된 라벨을 사용해야 합니다.
유효한 linkType |
---|
channelPartner |
eCommercePlatform |
예
다음 API 호출은 파트너의 계정 123456789
에서 linkedAccountId
가 "98765"
인 판매자에게 연결 요청을 보냅니다.
"eCommercePlatform"
linkType
는 파트너를 전자상거래 플랫폼으로 식별합니다. services
목록은 파트너가 "shoppingAdsProductManagement"
(쇼핑 광고의 제품 데이터 관리) 및 "shoppingActionsOrderManagement"
(Buy on Google의 주문 관리, 이전 Shopping Actions) 기능을 제공함을 나타냅니다.
POST https://shoppingcontent.googleapis.com/content/v2.1/123456789/accounts/123456789/link
{
"linkedAccountId": "98765",
"linkType": "eCommercePlatform",
"services": ["shoppingAdsProductManagement", "shoppingActionsOrderManagement"],
"action": "request"
}
다음 섹션에서는 기존 링크 목록을 가져오는 방법을 설명합니다.