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.Delete

Contents

Description

Deletes a Merchant Center sub-account.

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

Synopsis

REST Resource

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

A resource alias for content.accounts.delete method which the AccountsDelete request conforms to.

Creating a Request

accountsDelete Source

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

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

Request Lenses

adMerchantId :: Lens' AccountsDelete Word64 Source

The ID of the managing account.

adAccountId :: Lens' AccountsDelete Word64 Source

The ID of the account.

adDryRun :: Lens' AccountsDelete (Maybe Bool) Source

Flag to run the request in dry-run mode.