gogol-shopping-content-0.4.0: Google Content API for Shopping SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Content.Accounts.Link

Contents

Description

Performs an action on a link between a Merchant Center account and another account.

See: Content API for Shopping Reference for content.accounts.link.

Synopsis

REST Resource

type AccountsLinkResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("accounts" :> (Capture "accountId" (Textual Word64) :> ("link" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AccountsLinkRequest :> Post '[JSON] AccountsLinkResponse))))))) Source #

A resource alias for content.accounts.link method which the AccountsLink request conforms to.

Creating a Request

accountsLink Source #

Creates a value of AccountsLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data AccountsLink Source #

Performs an action on a link between a Merchant Center account and another account.

See: accountsLink smart constructor.

Request Lenses

alMerchantId :: Lens' AccountsLink Word64 Source #

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.

alPayload :: Lens' AccountsLink AccountsLinkRequest Source #

Multipart request metadata.

alAccountId :: Lens' AccountsLink Word64 Source #

The ID of the account that should be linked.