| Copyright | (c) 2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.Content.Accounts.List
Description
Lists the sub-accounts in your Merchant Center account.
See: Content API for Shopping Reference for content.accounts.list.
- type AccountsListResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("accounts" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` AccountsListResponse))))))
- accountsList :: Word64 -> AccountsList
- data AccountsList
- alMerchantId :: Lens' AccountsList Word64
- alPageToken :: Lens' AccountsList (Maybe Text)
- alMaxResults :: Lens' AccountsList (Maybe Word32)
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
Arguments
| :: Word64 | |
| -> AccountsList |
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:
data AccountsList Source
Lists the sub-accounts in your Merchant Center account.
See: accountsList smart constructor.
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.