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 |
Retrieves the LIA settings of the account.
See: Content API for Shopping Reference for content.liasettings.get
.
Synopsis
- type LiaSettingsGetResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("liasettings" :> (Capture "accountId" (Textual Word64) :> (QueryParam "alt" AltJSON :> Get '[JSON] LiaSettings)))))
- liaSettingsGet :: Word64 -> Word64 -> LiaSettingsGet
- data LiaSettingsGet
- lsgMerchantId :: Lens' LiaSettingsGet Word64
- lsgAccountId :: Lens' LiaSettingsGet Word64
REST Resource
type LiaSettingsGetResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("liasettings" :> (Capture "accountId" (Textual Word64) :> (QueryParam "alt" AltJSON :> Get '[JSON] LiaSettings))))) Source #
A resource alias for content.liasettings.get
method which the
LiaSettingsGet
request conforms to.
Creating a Request
Creates a value of LiaSettingsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LiaSettingsGet Source #
Retrieves the LIA settings of the account.
See: liaSettingsGet
smart constructor.
Instances
Request Lenses
lsgMerchantId :: Lens' LiaSettingsGet Word64 Source #
The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
lsgAccountId :: Lens' LiaSettingsGet Word64 Source #
The ID of the account for which to get or update LIA settings.