---
title: "POST /{merchantId}/accounts/{accountId}/link"
method: POST
path: "/{merchantId}/accounts/{accountId}/link"
tags: ["accounts"]
---

# POST /{merchantId}/accounts/{accountId}/link

`POST /{merchantId}/accounts/{accountId}/link`

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

## Path parameters

- `merchantId` string, required
- `accountId` string, required

## Request body

- AccountsLinkRequest
  - `linkedAccountId` string — The ID of the linked account.
  - `services` string[] — Acceptable values are: - "`shoppingAdsProductManagement`" - "`shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`" - "`paymentProcessing`"
  - `linkType` string — Type of the link between the two accounts. Acceptable values are: - "`channelPartner`" - "`eCommercePlatform`" - "`paymentServiceProvider`"
  - `eCommercePlatformLinkInfo` ECommercePlatformLinkInfo — Additional information required for E_COMMERCE_PLATFORM link type.
    - `externalAccountId` string — The id used by the third party service provider to identify the merchant.
  - `action` string — Action to perform for this link. The `"request"` action is only available to select merchants. Acceptable values are: - "`approve`" - "`remove`" - "`request`"
  - `paymentServiceProviderLinkInfo` PaymentServiceProviderLinkInfo — Additional information required for PAYMENT_SERVICE_PROVIDER link type.
    - `externalAccountId` string — The id used by the third party service provider to identify the merchant.
    - `externalAccountBusinessCountry` string — The business country of the merchant account as identified by the third party service provider.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/content.md) · [All operations](https://skmtc.net/google/apis/content/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/content/versions/1033388fc86f/schema)
