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

Copyright(c) 2015 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.Patch

Contents

Description

Updates a Merchant Center account. This method supports patch semantics.

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

Synopsis

REST Resource

type AccountsPatchResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accounts" :> (Capture "accountId" (Textual Word64) :> (QueryParam "dryRun" Bool :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Account :> Patch `[JSON]` Account))))))) Source

A resource alias for content.accounts.patch method which the AccountsPatch request conforms to.

Creating a Request

accountsPatch Source

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

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

data AccountsPatch Source

Updates a Merchant Center account. This method supports patch semantics.

See: accountsPatch smart constructor.

Request Lenses

apMerchantId :: Lens' AccountsPatch Word64 Source

The ID of the managing account.

apPayload :: Lens' AccountsPatch Account Source

Multipart request metadata.

apAccountId :: Lens' AccountsPatch Word64 Source

The ID of the account.

apDryRun :: Lens' AccountsPatch (Maybe Bool) Source

Flag to run the request in dry-run mode.