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.Accounttax.Patch

Contents

Description

Updates the tax settings of the account. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for content.accounttax.patch method which the AccounttaxPatch request conforms to.

Creating a Request

accounttaxPatch Source

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

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

data AccounttaxPatch Source

Updates the tax settings of the account. This method supports patch semantics.

See: accounttaxPatch smart constructor.

Request Lenses

appMerchantId :: Lens' AccounttaxPatch Word64 Source

The ID of the managing account.

appPayload :: Lens' AccounttaxPatch AccountTax Source

Multipart request metadata.

appAccountId :: Lens' AccounttaxPatch Word64 Source

The ID of the account for which to get/update account tax settings.

appDryRun :: Lens' AccounttaxPatch (Maybe Bool) Source

Flag to run the request in dry-run mode.