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 |
Requests inventory validation for the specified country.
See: Content API for Shopping Reference for content.liasettings.requestinventoryverification
.
Synopsis
- type LiaSettingsRequestinventoryverificationResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("liasettings" :> (Capture "accountId" (Textual Word64) :> ("requestinventoryverification" :> (Capture "country" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] LiaSettingsRequestInventoryVerificationResponse)))))))
- liaSettingsRequestinventoryverification :: Word64 -> Text -> Word64 -> LiaSettingsRequestinventoryverification
- data LiaSettingsRequestinventoryverification
- lsrMerchantId :: Lens' LiaSettingsRequestinventoryverification Word64
- lsrCountry :: Lens' LiaSettingsRequestinventoryverification Text
- lsrAccountId :: Lens' LiaSettingsRequestinventoryverification Word64
REST Resource
type LiaSettingsRequestinventoryverificationResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("liasettings" :> (Capture "accountId" (Textual Word64) :> ("requestinventoryverification" :> (Capture "country" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] LiaSettingsRequestInventoryVerificationResponse))))))) Source #
A resource alias for content.liasettings.requestinventoryverification
method which the
LiaSettingsRequestinventoryverification
request conforms to.
Creating a Request
liaSettingsRequestinventoryverification Source #
Creates a value of LiaSettingsRequestinventoryverification
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LiaSettingsRequestinventoryverification Source #
Requests inventory validation for the specified country.
See: liaSettingsRequestinventoryverification
smart constructor.
Instances
Request Lenses
lsrMerchantId :: Lens' LiaSettingsRequestinventoryverification 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.
lsrCountry :: Lens' LiaSettingsRequestinventoryverification Text Source #
The country for which inventory validation is requested.
lsrAccountId :: Lens' LiaSettingsRequestinventoryverification Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.