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

Contents

Description

Lists the sub-accounts in your Merchant Center account.

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

Synopsis

REST Resource

type AccountsListResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accounts" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` AccountsListResponse)))))) Source

A resource alias for content.accounts.list method which the AccountsList request conforms to.

Creating a Request

accountsList Source

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

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

Request Lenses

alMerchantId :: Lens' AccountsList Word64 Source

The ID of the managing account.

alPageToken :: Lens' AccountsList (Maybe Text) Source

The token returned by the previous request.

alMaxResults :: Lens' AccountsList (Maybe Word32) Source

The maximum number of accounts to return in the response, used for paging.