Copyright | (c) 2015-2016 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 |
Lists the LIA settings of the sub-accounts in your Merchant Center account.
See: Content API for Shopping Reference for content.liasettings.list
.
Synopsis
- type LiaSettingsListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("liasettings" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] LiaSettingsListResponse))))))
- liaSettingsList :: Word64 -> LiaSettingsList
- data LiaSettingsList
- lslMerchantId :: Lens' LiaSettingsList Word64
- lslPageToken :: Lens' LiaSettingsList (Maybe Text)
- lslMaxResults :: Lens' LiaSettingsList (Maybe Word32)
REST Resource
type LiaSettingsListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("liasettings" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] LiaSettingsListResponse)))))) Source #
A resource alias for content.liasettings.list
method which the
LiaSettingsList
request conforms to.
Creating a Request
Creates a value of LiaSettingsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LiaSettingsList Source #
Lists the LIA settings of the sub-accounts in your Merchant Center account.
See: liaSettingsList
smart constructor.
Instances
Request Lenses
lslMerchantId :: Lens' LiaSettingsList Word64 Source #
The ID of the managing account. This must be a multi-client account.
lslPageToken :: Lens' LiaSettingsList (Maybe Text) Source #
The token returned by the previous request.
lslMaxResults :: Lens' LiaSettingsList (Maybe Word32) Source #
The maximum number of LIA settings to return in the response, used for paging.