v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13125317428.7 KB
accounts

Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.

post/{merchantId}/accounts/{accountId}/link

Path parameters

merchantIdstring required

The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.

accountIdstring required

The ID of the account that should be linked.

Request body

linkedAccountIdstring

The ID of the linked account.

servicesstring[]

Acceptable values are: - "shoppingAdsProductManagement" - "shoppingActionsProductManagement" - "shoppingActionsOrderManagement" - "paymentProcessing"

linkTypestring

Type of the link between the two accounts. Acceptable values are: - "channelPartner" - "eCommercePlatform" - "paymentServiceProvider"

actionstring

Action to perform for this link. The "request" action is only available to select merchants. Acceptable values are: - "approve" - "remove" - "request"

Response

Successful response